Blender Git Commit Log

Git Commits -> Revision 728d1ec

Revision 728d1ec by Porteries Tristan (master)
October 19, 2015, 14:03 (GMT)
BGE: Fix T46381 : last action frame not updated.

It fix T46381. Normally BL_Action::Update (manage action time, end, loop?) should be called the same number of times as BL_Action::UpdateIPO (update action position, scale ect? in the game object).
But the bug report shows that UpdateIPO is called one less time than Update. To fix it i revert the commit 362b25b38287cb75e4d22b30bdbc7f47e8eb3fdf and implement a mutex in BL_Action::Update.
Example file : {F245823}

Reviewers: lordloki, kupoman, campbellbarton, youle, moguri, sybren

Reviewed By: youle, moguri, sybren

Maniphest Tasks: T39928, T46381

Differential Revision: https://developer.blender.org/D1562

Commit Details:

Full Hash: 728d1ec504647f512aeb46d3eb7b15d262d94246
Parent Commit: 2b12cf4
Lines Changed: +36, -39

8 Modified Paths:

/source/gameengine/Ketsji/BL_Action.cpp (+22, -5) (Diff)
/source/gameengine/Ketsji/BL_Action.h (+5, -4) (Diff)
/source/gameengine/Ketsji/BL_ActionManager.cpp (+0, -10) (Diff)
/source/gameengine/Ketsji/BL_ActionManager.h (+0, -5) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+3, -5) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+0, -6) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+6, -0) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+0, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021