summaryrefslogtreecommitdiff
path: root/indra/newview/llsidepanelappearance.cpp
diff options
context:
space:
mode:
authorEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-11-17 19:03:30 -0500
committerEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-11-17 19:03:30 -0500
commite6caf96b0a60dbbc75958ea4a74529601c51541f (patch)
treea1bb25b0a72b8c84cbecb5379c7a36ffca000510 /indra/newview/llsidepanelappearance.cpp
parent32178873564f86f0ab9ee06d485486fc9d609012 (diff)
post viewer2 merge compile fix (minor)
--HG-- branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llsidepanelappearance.cpp')
-rw-r--r--indra/newview/llsidepanelappearance.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp
index c30997fbdc..aeab3e2876 100644
--- a/indra/newview/llsidepanelappearance.cpp
+++ b/indra/newview/llsidepanelappearance.cpp
@@ -234,16 +234,9 @@ void LLSidepanelAppearance::toggleLookInfoPanel(BOOL visible)
mNewLookBtn->setVisible(!visible);
mOverflowBtn->setVisible(!visible);
mCurrLookPanel->setVisible(!visible);
-
- if (visible)
- {
- LLRect rect = getRect();
- LLRect new_rect = LLRect(rect.mLeft, rect.mTop, rect.mRight, mTabContainer->getRect().mBottom);
- mLookInfo->reshape(new_rect.getWidth(),new_rect.getHeight());
- }
}
-void LLPanelAppearance::toggleWearableEditPanel(BOOL visible, LLWearable *wearable)
+void LLSidepanelAppearance::toggleWearableEditPanel(BOOL visible, LLWearable *wearable)
{
if (!wearable)
{