Files
test2/source/gameengine/PyDoc
Campbell Barton e8f4d93221 Disable using KX_GameObjects in python that have been removed from the scene (zombie objects) by raising a RuntimeError when accessing methods, attributes or passing to a function.
Common cases of this are when python references an object from the AddObject actuator that has ended, or a scene has been loaded and the old objects freed.

This means some scripts will raise errors now in certain cases but better give the error early rather then failing silently with strange hard to track down behavior & crashes.

Added "isValid" attribute for checking objects are in a scene.

At the moment it uses the SceneGraph Node to check of the objects valid but it might be better to do this in a more generic way so scenes, meshes etc also have this check.
2009-04-15 10:57:28 +00:00
..
2009-04-11 20:58:09 +00:00
2009-04-05 10:03:23 +00:00
2009-04-09 12:53:56 +00:00
2009-04-13 19:33:22 +00:00
2005-03-25 10:33:39 +00:00
2008-10-14 22:31:10 +00:00
2009-04-09 12:53:56 +00:00
2008-12-29 16:36:58 +00:00
2009-04-07 06:23:45 +00:00
2009-04-09 22:15:26 +00:00
2009-04-13 19:33:22 +00:00
2009-04-13 19:33:22 +00:00
2009-02-24 05:50:45 +00:00
2009-04-13 19:33:22 +00:00
2009-04-13 19:33:22 +00:00