EMITTER texture missing in EditGeometry::insertTexture()
by Tom Spilman · in Torque Game Engine Advanced · 12/21/2004 (6:04 pm) · 2 replies
Small bug in EditGeometry::insertTexture() in map2dif. You need to add the new emitter texture into the if block like so:
This lets you use a light_brush without having a dummy texture in the texture path.
if(dStricmp(pInsert, "NULL") != 0 &&
dStricmp(pInsert, "ORIGIN") != 0 &&
dStricmp(pInsert, "TRIGGER") != 0 &&
dStricmp(pInsert, "FORCEFIELD") != 0 &&
dStricmp(pInsert, "EMITTER") != 0 )
{This lets you use a light_brush without having a dummy texture in the texture path.
About the author
Tom is a programmer and co-owner of Sickhead Games, LLC.
Associate Kyle Carter