Blender Git Loki

Git Commits -> Revision bedc58a

October 29, 2015, 10:10 (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: bedc58ac4e5e86758fd94a7c4bac77003134e947
Parent Commit: 349609c
Committed By: Campbell Barton
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021