Prevent needless XML parsing of tools floater
parent
bce6f3f0a2
commit
2652e18b85
|
|
@ -2446,9 +2446,14 @@ void LLPanelObject::refresh()
|
|||
|
||||
F32 max_scale = get_default_max_prim_scale(LLPickInfo::isFlora(mObject));
|
||||
|
||||
getChild<LLSpinCtrl>("Scale X")->setMaxValue(max_scale);
|
||||
getChild<LLSpinCtrl>("Scale Y")->setMaxValue(max_scale);
|
||||
getChild<LLSpinCtrl>("Scale Z")->setMaxValue(max_scale);
|
||||
// <FS:Ansariel> Performance improvement
|
||||
//getChild<LLSpinCtrl>("Scale X")->setMaxValue(max_scale);
|
||||
//getChild<LLSpinCtrl>("Scale Y")->setMaxValue(max_scale);
|
||||
//getChild<LLSpinCtrl>("Scale Z")->setMaxValue(max_scale);
|
||||
mCtrlScaleX->setMaxValue(max_scale);
|
||||
mCtrlScaleY->setMaxValue(max_scale);
|
||||
mCtrlScaleZ->setMaxValue(max_scale);
|
||||
// </FS:Ansariel>
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue