summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneleditwearable.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-12 11:42:53 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-12 11:42:53 +0100
commit1cee577ca0234eee7da243c85be8eb7524d691c7 (patch)
treedae53f3e48a2a1984f04c9e189f540d32dd9bc58 /indra/newview/llpaneleditwearable.cpp
parent7059173aa920e9c8d1939a0ec9558fc79cbfb3ed (diff)
Oops! I fixed these compile errors but didn't commit them.
Diffstat (limited to 'indra/newview/llpaneleditwearable.cpp')
-rw-r--r--indra/newview/llpaneleditwearable.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp
index 5aeb3ffc82..557fb399be 100644
--- a/indra/newview/llpaneleditwearable.cpp
+++ b/indra/newview/llpaneleditwearable.cpp
@@ -663,7 +663,7 @@ void LLPanelEditWearable::draw()
updateVerbs();
if (getWearable())
{
- EWearableType type = getWearable()->getType();
+ LLWearableType::EType type = getWearable()->getType();
updatePanelPickerControls(type);
updateTypeSpecificControls(type);
}
@@ -929,21 +929,21 @@ void LLPanelEditWearable::initializePanel()
updateVerbs();
}
-void LLPanelEditWearable::toggleTypeSpecificControls(EWearableType type)
+void LLPanelEditWearable::toggleTypeSpecificControls(LLWearableType::EType type)
{
// Toggle controls specific to shape editing panel.
{
- bool is_shape = (type == WT_SHAPE);
+ bool is_shape = (type == LLWearableType::WT_SHAPE);
childSetVisible("sex_radio", is_shape);
childSetVisible("female_icon", is_shape);
childSetVisible("male_icon", is_shape);
}
}
-void LLPanelEditWearable::updateTypeSpecificControls(EWearableType type)
+void LLPanelEditWearable::updateTypeSpecificControls(LLWearableType::EType type)
{
// Update controls specific to shape editing panel.
- if (type == WT_SHAPE)
+ if (type == LLWearableType::WT_SHAPE)
{
// Update avatar height
std::string avatar_height_str = llformat("%.2f", gAgentAvatarp->mBodySize.mV[VZ]);