diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-05-15 02:52:10 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-05-15 02:52:10 +0400 |
commit | bb7b04bd94ee167e9561fe8b8914e3f126dd8abf (patch) | |
tree | 8832aa91513fbce98e59a0a5378ddcdf3da9d56f /source/blender/freestyle | |
parent | 50c46fb9b3d1c6c423c0e6bf90a1bbc2e571c4bd (diff) |
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.
Diffstat (limited to 'source/blender/freestyle')
0 files changed, 0 insertions, 0 deletions