MAINT-7990 Fixed avatar physics twitching at high fps

meow-7.2.2
andreykproductengine 2017-11-09 16:06:59 +02:00
parent 59c73fbfb8
commit 7605ffbdd2
1 changed files with 0 additions and 6 deletions

View File

@ -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)