summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-17 12:46:27 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-17 12:46:27 +0000
commitc3bd736f6c2d51542fb2894542151282144e7388 (patch)
treedcb1d709e4170955dbcbf9fdb3071c6ad8890043 /indra/newview/llbottomtray.cpp
parentf6304197a755b4268e65d128c2695d6392d2bffd (diff)
parentc826e5606e834374e4488e8504c6ffce2d137584 (diff)
PE merge.
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()
{