summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lltoolbar.cpp')
-rw-r--r--indra/newview/lltoolbar.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/lltoolbar.cpp b/indra/newview/lltoolbar.cpp
index 3874a11317..33edb3ef27 100644
--- a/indra/newview/lltoolbar.cpp
+++ b/indra/newview/lltoolbar.cpp
@@ -128,9 +128,6 @@ BOOL LLToolBar::postBuild()
childSetAction("appearance_btn", onClickAppearance, this);
childSetControlName("appearance_btn", "");
- childSetAction("clothing_btn", onClickClothing, this);
- childSetControlName("clothing_btn", "ClothingBtnState");
-
childSetAction("fly_btn", onClickFly, this);
childSetControlName("fly_btn", "FlyBtnState");
@@ -287,8 +284,6 @@ void LLToolBar::refresh()
BOOL mouselook = gAgent.cameraMouselook();
setVisible(show && !mouselook);
- // Clothing button updated inside LLFloaterClothing
-
BOOL sitting = FALSE;
if (gAgent.getAvatarObject())
{
@@ -456,13 +451,6 @@ void LLToolBar::onClickAppearance(void*)
// static
-void LLToolBar::onClickClothing(void*)
-{
- handle_clothing(NULL);
-}
-
-
-// static
void LLToolBar::onClickFly(void*)
{
gAgent.toggleFlying();