 Luthyr Guest |
Quote
|
| 2010-01-10 20:33:30 |
|
I've been trying to figure out how to get custom scene nodes to be added with DebugDataVisible set to full by default, similar to how irrKlangNodes are right now. Right now, I have narrowed it down to the ID being read separately that turns it on by default, but I can't seem to find anywhere to add my own nodes to this sort of list.
Is there some way I can detect whether the scenenode is being ran in irrEdit versus a normal setting? I'm referencing the same code files for both the irrEdit plugin and my game project so that I don't have to manage two separate versions.
Thanks!
|
 erik Guest |
Quote
|
| 2010-01-11 09:58:57 |
|
You can do this using ISceneManager::getParameters(). Check if irr::scene::IRR_SCENE_MANAGER_IS_EDITOR is set.
|