MAINT-2510 : Time can go backwards for viewer animation, assert fires.
Reviewed by Kellymaster
parent
d5561a1ada
commit
5dbb0a31da
|
|
@ -672,7 +672,8 @@ BOOL LLKeyframeMotion::onActivate()
|
|||
//-----------------------------------------------------------------------------
|
||||
BOOL LLKeyframeMotion::onUpdate(F32 time, U8* joint_mask)
|
||||
{
|
||||
llassert(time >= 0.f);
|
||||
// llassert(time >= 0.f); // This will fire
|
||||
time = llmax(0.f, time);
|
||||
|
||||
if (mJointMotionList->mLoop)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ public:
|
|||
|
||||
~LLMeshSkinInfoResponder()
|
||||
{
|
||||
llassert(mProcessed);
|
||||
//llassert(mProcessed); this will assert due to a timeout (not handled?) MAINT-2511
|
||||
}
|
||||
|
||||
virtual void completedRaw(U32 status, const std::string& reason,
|
||||
|
|
@ -313,7 +313,7 @@ public:
|
|||
|
||||
~LLMeshDecompositionResponder()
|
||||
{
|
||||
llassert(mProcessed);
|
||||
//llassert(mProcessed); this will assert due to a timeout (not handled?) MAINT-2511
|
||||
}
|
||||
|
||||
virtual void completedRaw(U32 status, const std::string& reason,
|
||||
|
|
@ -338,7 +338,7 @@ public:
|
|||
|
||||
~LLMeshPhysicsShapeResponder()
|
||||
{
|
||||
llassert(mProcessed);
|
||||
//llassert(mProcessed); this will assert due to a timeout (not handled?) MAINT-2511
|
||||
}
|
||||
|
||||
virtual void completedRaw(U32 status, const std::string& reason,
|
||||
|
|
|
|||
Loading…
Reference in New Issue