Fix for Sh-512: Scales use their previous maximum value

master
prep 2011-01-31 16:23:22 -05:00
parent fe253e6ec6
commit 09bfb95976
1 changed files with 1 additions and 1 deletions

View File

@ -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);