diff options
author | Euclid Linden <euclid@lindenlab.com> | 2021-03-02 22:41:49 +0000 |
---|---|---|
committer | Euclid Linden <euclid@lindenlab.com> | 2021-03-02 22:41:49 +0000 |
commit | a0b9fd6eb0dacfec30df0caac8dbbd7c25366c72 (patch) | |
tree | 229a96783c6534a36ce48bdb83108ce26ac24b2f /indra/llcharacter/llkeyframefallmotion.cpp | |
parent | 2cad61d76ba48fe2adfda120bc21ca66166b7385 (diff) | |
parent | 10241c5596402a145e4087c36014d84507183c32 (diff) |
Merged in DV528-merge-6.4.15 (pull request #484)
DRTVWR-528 merge up to 6.4.15
Diffstat (limited to 'indra/llcharacter/llkeyframefallmotion.cpp')
-rw-r--r-- | indra/llcharacter/llkeyframefallmotion.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcharacter/llkeyframefallmotion.cpp b/indra/llcharacter/llkeyframefallmotion.cpp index 60ab2e9929..7842f0e5fb 100644 --- a/indra/llcharacter/llkeyframefallmotion.cpp +++ b/indra/llcharacter/llkeyframefallmotion.cpp @@ -70,6 +70,11 @@ LLMotion::LLMotionInitStatus LLKeyframeFallMotion::onInitialize(LLCharacter *cha // load keyframe data, setup pose and joint states LLMotion::LLMotionInitStatus result = LLKeyframeMotion::onInitialize(character); + if (result != LLMotion::STATUS_SUCCESS) + { + return result; + } + for (U32 jm=0; jm<mJointMotionList->getNumJointMotions(); jm++) { if (!mJointStates[jm]->getJoint()) |