Skip to content
Snippets Groups Projects
Commit a3500096 authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

SL-14107 fixed crash due to missing animation when avatar hits the ground after falling down

parent 31d80c21
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,11 @@ LLMotion::LLMotionInitStatus LLKeyframeFallMotion::onInitialize(LLCharacter *cha ...@@ -70,6 +70,11 @@ LLMotion::LLMotionInitStatus LLKeyframeFallMotion::onInitialize(LLCharacter *cha
// load keyframe data, setup pose and joint states // load keyframe data, setup pose and joint states
LLMotion::LLMotionInitStatus result = LLKeyframeMotion::onInitialize(character); LLMotion::LLMotionInitStatus result = LLKeyframeMotion::onInitialize(character);
if (result != LLMotion::STATUS_SUCCESS)
{
return result;
}
for (U32 jm=0; jm<mJointMotionList->getNumJointMotions(); jm++) for (U32 jm=0; jm<mJointMotionList->getNumJointMotions(); jm++)
{ {
if (!mJointStates[jm]->getJoint()) if (!mJointStates[jm]->getJoint())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment