SL-14107 fixed crash due to missing animation when avatar hits the ground after falling down
parent
31d80c21b5
commit
a350009614
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in New Issue