summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2010-02-17 14:01:35 -0800
committerRick Pasetto <rick@lindenlab.com>2010-02-17 14:01:35 -0800
commit50e696872ecebd37e8a43df3031e4cdaf26147a9 (patch)
tree7a0eadbb49db2b1d37306c89e588d2ae64510145 /indra/newview/llbottomtray.cpp
parent1c0603bef2bac6e006df7566aa2a3f8c351a1b7f (diff)
parent5fd3f8e61c9c37c4cf6a1aabc11f2f9ee710053f (diff)
Automated merge with ssh://rick@hg.lindenlab.com/q/viewer-hotfix/
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r--indra/newview/llbottomtray.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index 95a946cee8..c9082da9a9 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -422,6 +422,18 @@ void LLBottomTray::showSnapshotButton(BOOL visible)
setTrayButtonVisibleIfPossible(RS_BUTTON_SNAPSHOT, visible);
}
+void LLBottomTray::toggleMovementControls()
+{
+ if (mMovementButton)
+ mMovementButton->onCommit();
+}
+
+void LLBottomTray::toggleCameraControls()
+{
+ if (mCamButton)
+ mCamButton->onCommit();
+}
+
BOOL LLBottomTray::postBuild()
{