summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2011-03-31 15:56:33 -0400
committerLoren Shih <seraph@lindenlab.com>2011-03-31 15:56:33 -0400
commitba0c369aa20cdbfd7940a2435dd3c6630f0d54ae (patch)
treeb5a6750fd3d483173e3dc5d7f1c96f1f800b92c0 /indra/newview
parent107ca5d7c8f7a511e6606a91930b893edbfe884e (diff)
Tweaking of avatar physics detail slider.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llphysicsmotion.cpp2
-rw-r--r--indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml10
2 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llphysicsmotion.cpp b/indra/newview/llphysicsmotion.cpp
index 157d13e1a4..73de1cef3f 100644
--- a/indra/newview/llphysicsmotion.cpp
+++ b/indra/newview/llphysicsmotion.cpp
@@ -631,7 +631,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.5f; // 75% is just an experimental magic number.
+ const F32 min_delta = (1.01f-lod_factor)*0.4f;
if (llabs(position_diff_local) > min_delta)
{
update_visuals = TRUE;
diff --git a/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml b/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
index 6904cfa50e..d74197d965 100644
--- a/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
@@ -331,16 +331,16 @@
control_name="RenderAvatarPhysicsLODFactor"
follows="left|top"
height="16"
- increment="0.125"
- initial_value="160"
+ initial_value="100"
+ increment=".05"
label=" Avatar Physics:"
label_width="85"
layout="topleft"
- left_delta="-6"
+ left_delta="-16"
name="AvatarPhysicsDetail"
show_text="false"
top_pad="12"
- width="154">
+ width="160">
<slider.commit_callback
function="Pref.UpdateSliderText"
parameter="AvatarPhysicsDetailText" />
@@ -351,7 +351,7 @@
follows="left|top"
height="12"
layout="topleft"
- left_delta="160"
+ left_delta="165"
name="AvatarPhysicsDetailText"
top_pad="-16"
width="128">