MacMan45
26-04-2008 00:25:30
I've been working with python-ogre for a while now, getting the hang of it all.
One thing I am having trouble with though, is properly shutting down & cleaning up.
I have started a new project using unit testing from the start, and I have found an issue I haven't had to deal with in previous programs.
As I want to be able to start & stop ogre a few times during testing, I'm not sure how to completely shutdown & restart ogre cleanly.
I have tried calling shutdown on root & then deleting all references I hold to root. I then recreate root & when I get to creating a new window, I get a message about not being able to access a memory region (windows xp) & all I can do is close the error message and then IDLE & open editor windows close on me.
Does anyone know how to completely clean up ogre & start fresh, without having to restart the program completely?
One thing I am having trouble with though, is properly shutting down & cleaning up.
I have started a new project using unit testing from the start, and I have found an issue I haven't had to deal with in previous programs.
As I want to be able to start & stop ogre a few times during testing, I'm not sure how to completely shutdown & restart ogre cleanly.
I have tried calling shutdown on root & then deleting all references I hold to root. I then recreate root & when I get to creating a new window, I get a message about not being able to access a memory region (windows xp) & all I can do is close the error message and then IDLE & open editor windows close on me.
Does anyone know how to completely clean up ogre & start fresh, without having to restart the program completely?