LoadScene() [Solved]
Posted: Fri Jul 30, 2010 4:58 pm
Hi everyone,
I tryied everything and dont got it to work. Here is the situation :
1. I create a bullet world manager.
2. I call LoadScene().
3. SceneManager()->DrawAll ===== CRASH!??!?!
Whenever i use this framework :
1. LoadScene().
2. Create bullet manager.
3. DrawAll =============WORK.
In my bullet manager i have absolutly nothing concerning the scenemanager, i only pass a IrrlichtDevice and store it in the Bullet manager. And i call absolutly nothing else between step 1 and 2. The crash only occurs when the scenamanger calls DrawAll, if i comment this line, i get no crash but i cant draw the scene .
Without calling LoadScene and by using another method in the scenemanager, it works. The problem only occurs with LoadScene(). And yes my file path is valid so its not the problem...
Hope someone help me with this. Thx for replying.
I tryied everything and dont got it to work. Here is the situation :
1. I create a bullet world manager.
2. I call LoadScene().
3. SceneManager()->DrawAll ===== CRASH!??!?!
Whenever i use this framework :
1. LoadScene().
2. Create bullet manager.
3. DrawAll =============WORK.
In my bullet manager i have absolutly nothing concerning the scenemanager, i only pass a IrrlichtDevice and store it in the Bullet manager. And i call absolutly nothing else between step 1 and 2. The crash only occurs when the scenamanger calls DrawAll, if i comment this line, i get no crash but i cant draw the scene .
Without calling LoadScene and by using another method in the scenemanager, it works. The problem only occurs with LoadScene(). And yes my file path is valid so its not the problem...
Hope someone help me with this. Thx for replying.