Tut1 Freezing from IDLE


16-05-2010 16:44:44

When I run Basic Tutorial from IDLE the program freezes when I attempt to exit it.
When I run Basic Tutorial from windows (by double clicking on the .py file) the program does not freeze.
Other wise everything runs and works as expected.

Any ideas what could be causing this?

import ogre.renderer.OGRE as ogre
import SampleFramework as sf

class TutorialApplication(sf.Application):
def _createScene(self):
sceneManager = self.sceneManager
sceneManager.ambientLight = ogre.ColourValue(1,1,1)

ent1 = sceneManager.createEntity("Robot", "robot.mesh")
node1 = sceneManager.getRootSceneNode().createChildSceneNode("RobotNode")

if __name__ == '__main__':
ta = TutorialApplication()


18-05-2010 11:50:51

I suggest that you use Eclipse with the Pydev plugin. IDLE simply sucks compared to Eclipse