From e6caf96b0a60dbbc75958ea4a74529601c51541f Mon Sep 17 00:00:00 2001 From: "Eric M. Tulla (BigPapi)" Date: Tue, 17 Nov 2009 19:03:30 -0500 Subject: post viewer2 merge compile fix (minor) --HG-- branch : avatar-pipeline --- indra/newview/llsidepanelappearance.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'indra/newview') 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) { -- cgit v1.2.3