Nox_A15
Member
|
No light in the editor
Suddenly I can't see lights in the editor. After compilation they are there, but in editing mode they look like a cubes of "not detected objects". I have the same problem in freshly downloaded editor.
I'm working on my thesis project in Esenthel and need this problem solved really badly. :/
Edit:
Particles as well.
(This post was last modified: 02-04-2013 10:41 PM by Nox_A15.)
|
|
02-04-2013 10:36 PM |
|
Esenthel
Administrator
|
RE: No light in the editor
Hi,
Sorry for the inconvenience,
Since you have partial editor source code, please edit this code:
Code:
// set custom drawing for following object types
World.setObjType<EditObjParticles >(Game::ObjType.find("OBJ_PARTICLES" ));
World.setObjType<EditObjLightPoint>(Game::ObjType.find("OBJ_LIGHT_POINT"));
World.setObjType<EditObjLightCone >(Game::ObjType.find("OBJ_LIGHT_CONE" ));
World.setObjType<EditAnimatable >(Game::ObjType.find("OBJ_ANIMATABLE" ));
// initialize the editor
EditInit(StateEdit, &StateGame, &StateMiniMap);
and replace it with this one:
Code:
// initialize the editor
EditInit(StateEdit, &StateGame, &StateMiniMap);
// set custom drawing for following object types
World.setObjType<EditObjParticles >(Game::ObjType.find("OBJ_PARTICLES" ));
World.setObjType<EditObjLightPoint>(Game::ObjType.find("OBJ_LIGHT_POINT"));
World.setObjType<EditObjLightCone >(Game::ObjType.find("OBJ_LIGHT_CONE" ));
World.setObjType<EditAnimatable >(Game::ObjType.find("OBJ_ANIMATABLE" ));
|
|
02-04-2013 11:13 PM |
|
Esenthel
Administrator
|
RE: No light in the editor
I've just reuploaded Editor EXE files for last 1.0 SDK, it should be ok now
|
|
02-06-2013 04:44 PM |
|