summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2011-03-21 14:15:41 -0400
committerLoren Shih <seraph@lindenlab.com>2011-03-21 14:15:41 -0400
commit77ad0269aca9169dc41bee08ff860373d7715b8c (patch)
tree29b2d5dbac5b10596653beff7e9fc1b389dd823e
parent717d81daa7f42d18ca37eb738ceacfe2b9c1a09a (diff)
Fixes for physics update thresholds.
-rw-r--r--indra/newview/llphysicsmotion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llphysicsmotion.cpp b/indra/newview/llphysicsmotion.cpp
index 87e062a881..2a88a4a2b5 100644
--- a/indra/newview/llphysicsmotion.cpp
+++ b/indra/newview/llphysicsmotion.cpp
@@ -588,7 +588,7 @@ BOOL LLPhysicsMotion::onUpdate(F32 time)
if ((pixel_area > area_for_this_setting) || is_self)
{
const F32 position_diff_local = llabs(mPositionLastUpdate_local-position_new_local_clamped);
- const F32 min_delta = (1.0f-lod_factor)*4.0f; // Magic number 2.0f, can change this if experimentally something works better.
+ const F32 min_delta = (1.01f-lod_factor)*0.75f; // 75% is just an experimental magic number.
if (llabs(position_diff_local) > min_delta)
{
update_visuals = TRUE;