summaryrefslogtreecommitdiff
path: root/indra/newview/llphysicsmotion.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2011-04-13 15:23:11 -0400
committerLoren Shih <seraph@lindenlab.com>2011-04-13 15:23:11 -0400
commit172bca783f94489fbf3ec68dfdc5f7851910b337 (patch)
tree1cce357a3ffb4f666eef9f85e928a2c88b066e5a /indra/newview/llphysicsmotion.cpp
parentcf5b96bdededdac0dd00e88ce045ab6f32878869 (diff)
SH-1364 FIXED Avatar Physics are not updating smoothly even for high-performance machines.
"high" graphics settings now give 100% updates, versus 90%. Changed a simple constant that was acting as a threshold for when physics should be updated (the constant was set way too high, meaning that updates were being skipped).
Diffstat (limited to 'indra/newview/llphysicsmotion.cpp')
-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 de4ce52351..09c9e75f2a 100644
--- a/indra/newview/llphysicsmotion.cpp
+++ b/indra/newview/llphysicsmotion.cpp
@@ -656,7 +656,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.01f-lod_factor)*0.4f;
+ const F32 min_delta = (1.0001f-lod_factor)*0.4f;
if (llabs(position_diff_local) > min_delta)
{
update_visuals = TRUE;