Skip to content
Snippets Groups Projects
Commit faef58a9 authored by David Parks's avatar David Parks
Browse files

SH-1666 Remove "Mesh" stitching type from sculpt combo box.

parent c8ea9476
No related branches found
No related tags found
No related merge requests found
......@@ -1740,25 +1740,11 @@ void LLPanelObject::refresh()
mRootObject = NULL;
}
bool enable_mesh = gSavedSettings.getBOOL("MeshEnabled") &&
gAgent.getRegion() &&
!gAgent.getRegion()->getCapability("GetMesh").empty();
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);
BOOL found = mCtrlSculptType->itemExists("Mesh");
if (enable_mesh && !found)
{
mCtrlSculptType->add("Mesh");
}
else if (!enable_mesh && found)
{
mCtrlSculptType->remove("Mesh");
}
}
......
......@@ -2098,11 +2098,7 @@ even though the user gets a free copy.
label="Cylinder"
name="Cylinder"
value="Cylinder" />
<combo_box.item
label="Mesh"
name="Mesh"
value="Mesh" />
</combo_box>
</combo_box>
</panel>
<panel
border="false"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment