diff options
author | prep <prep@lindenlab.com> | 2011-01-31 16:23:22 -0500 |
---|---|---|
committer | prep <prep@lindenlab.com> | 2011-01-31 16:23:22 -0500 |
commit | 09bfb95976b28b9d1f8d3cc0959381fcba389a4e (patch) | |
tree | cef9362b9a339d2a938b2b4c3091b6d0cd1a6ad1 | |
parent | fe253e6ec6f77a7967cadd6efd76b2fbbef4e2da (diff) |
Fix for Sh-512: Scales use their previous maximum value
-rw-r--r-- | indra/newview/llpanelobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelobject.cpp b/indra/newview/llpanelobject.cpp index b60eb893c7..8fa6beb474 100644 --- a/indra/newview/llpanelobject.cpp +++ b/indra/newview/llpanelobject.cpp @@ -1934,7 +1934,7 @@ void LLPanelObject::refresh() getChildView("Physics Density")->setVisible(enable_mesh); getChildView("Physics Restitution")->setVisible(enable_mesh); - F32 max_scale = get_default_max_prim_scale(); + F32 max_scale = DEFAULT_MAX_PRIM_SCALE_NO_MESH; getChild<LLSpinCtrl>("Scale X")->setMaxValue(max_scale); getChild<LLSpinCtrl>("Scale Y")->setMaxValue(max_scale); getChild<LLSpinCtrl>("Scale Z")->setMaxValue(max_scale); |