diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2014-05-05 02:37:18 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2014-05-05 02:39:15 +0400 |
commit | 362b25b38287cb75e4d22b30bdbc7f47e8eb3fdf (patch) | |
tree | 6d4b60050f1a98c1fa8ac6446f451d5fe3200218 /source/gameengine/Ketsji/BL_Action.h | |
parent | d27eea6dc6886ff900d62d77863e432d724d4de1 (diff) |
Fix T39928: Blender crash/freeze when game engine is started with animation played directly on camera object with parents.
Updating object IPOs is not currently thread-safe since it also updates
children. This leads to problems when parents and children are both
animated. For now, updating object IPOs is done in its own loop to avoid
threading issues.
Diffstat (limited to 'source/gameengine/Ketsji/BL_Action.h')
-rw-r--r-- | source/gameengine/Ketsji/BL_Action.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/BL_Action.h b/source/gameengine/Ketsji/BL_Action.h index 463d177c876..dd1cd1f69ff 100644 --- a/source/gameengine/Ketsji/BL_Action.h +++ b/source/gameengine/Ketsji/BL_Action.h @@ -105,6 +105,10 @@ public: * Update the action's frame, etc. */ void Update(float curtime); + /** + * Update object IPOs (note: not thread-safe!) + */ + void UpdateIPOs(); // Accessors float GetFrame(); |