diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2015-08-24 05:56:51 +0300 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2015-10-07 07:18:49 +0300 |
commit | 077b4ab846c37ad2456ec6f8f3501d55f42c4ccc (patch) | |
tree | afcd086c0b22acff0a1bc9a572f9d73c2c8aace4 | |
parent | b333a7570fa449d218f838dc642da2e3f75168bd (diff) |
Fix T45886: cont.deactivate(ActionActuatorInPropertyMode) does not work
Make sure the Action Actuator actually deactivates when given a negative
event while using the property play mode.
-rw-r--r-- | source/gameengine/Converter/BL_ActionActuator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Converter/BL_ActionActuator.cpp b/source/gameengine/Converter/BL_ActionActuator.cpp index d4cfeb2201a..372be85dacd 100644 --- a/source/gameengine/Converter/BL_ActionActuator.cpp +++ b/source/gameengine/Converter/BL_ActionActuator.cpp @@ -307,6 +307,7 @@ bool BL_ActionActuator::Update(double curtime, bool frame) } switch (m_playtype) { + case ACT_ACTION_FROM_PROP: case ACT_ACTION_LOOP_STOP: obj->StopAction(m_layer); // Stop the action after getting the frame |