summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleyla_linden <none@none>2011-02-10 17:29:29 -0800
committerleyla_linden <none@none>2011-02-10 17:29:29 -0800
commite3ce59b27d28aac4ba7325612817a71c205b498f (patch)
treef364644d20e266505a4adef873751f75fc375606
parent5addce7331a4b64b2994ccf20ecfa1d427ce1b38 (diff)
Backed out changeset 4fd25c7614e0
-rw-r--r--indra/newview/llpanelobject.cpp2
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);