Blender Git Commit Log

Git Commits -> Revision 5229383

Revision 5229383 by Benoit Bolsee (master)
March 9, 2008, 21:51 (GMT)
BGE fix: game object to controller links consistancy maintained regardless of order of deletion

AddObject actuator forces last created object to hang in memory even after object is removed from scene => bad link between object and physic controller that causes Blender to crash in case a python script tries to use it (bad programming anyway).
This patch avoids the crash by maintaining consistent links at all time.

Commit Details:

Full Hash: 52293831b26f34547acf100603c87296deba7a60
SVN Revision: 14034
Parent Commit: 822e51b
Lines Changed: +46, -11

4 Modified Paths:

/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp (+13, -1) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+13, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+19, -8) (Diff)
/source/gameengine/Ketsji/KX_Scene.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021