Blender Git Commit Log
Git Commits -> Revision bb7b04b
Revision bb7b04b by Mitchell Stokes (master) May 14, 2013, 22:52 (GMT) |
BGE: A little bit of cleanup: * Removing KX_Scene::RemoveAnimatedObject() since KX_Scene::NewRemoveObject() is already handling this. * Don't create a new BL_ActionManager when replicating an object. Just set m_actionManager to NULL and let KX_GameObject::GetActionManager() allocate a new BL_ActionManager when one is needed. * Use KX_GameObject::GetScene() instead of KX_GetActiveScene() in KX_GameObject::GetActionManager() to make sure we're using the object's scene instead of one where Python might currently be running from. This could avoid potential issues with playing actions for objects in other scenes. |
Commit Details:
Full Hash: bb7b04bd94ee167e9561fe8b8914e3f126dd8abf
SVN Revision: 56808
Parent Commit: 50c46fb
Lines Changed: +2, -10