SL-1290 - stop animations immediately if avatar is paused
parent
a84ee929a5
commit
2c81ace766
|
|
@ -441,7 +441,8 @@ BOOL LLMotionController::stopMotionLocally(const LLUUID &id, BOOL stop_immediate
|
|||
{
|
||||
// if already inactive, return false
|
||||
LLMotion *motion = findMotion(id);
|
||||
return stopMotionInstance(motion, stop_immediate);
|
||||
// SL-1290: always stop immediate if paused
|
||||
return stopMotionInstance(motion, stop_immediate||mPaused);
|
||||
}
|
||||
|
||||
BOOL LLMotionController::stopMotionInstance(LLMotion* motion, BOOL stop_immediate)
|
||||
|
|
|
|||
|
|
@ -4726,7 +4726,6 @@ void LLRiggedVolume::update(const LLMeshSkinInfo* skin, LLVOAvatar* avatar, cons
|
|||
}
|
||||
else
|
||||
{
|
||||
#if 1
|
||||
bool is_paused = avatar && avatar->areAnimationsPaused();
|
||||
if (is_paused)
|
||||
{
|
||||
|
|
@ -4736,7 +4735,6 @@ void LLRiggedVolume::update(const LLMeshSkinInfo* skin, LLVOAvatar* avatar, cons
|
|||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue