Tweaking of avatar physics detail slider.
parent
b578707362
commit
787d09b73c
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue