MAINT-7990 Fixed avatar physics twitching at high fps
parent
59c73fbfb8
commit
7605ffbdd2
|
|
@ -501,12 +501,6 @@ BOOL LLPhysicsMotion::onUpdate(F32 time)
|
|||
//
|
||||
|
||||
const F32 time_delta = time - mLastTime;
|
||||
|
||||
// Don't update too frequently, to avoid precision errors from small time slices.
|
||||
if (time_delta <= .01)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// If less than 1FPS, we don't want to be spending time updating physics at all.
|
||||
if (time_delta > 1.0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue