summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-10-11 15:48:36 -0700
committerRichard Nelson <none@none>2010-10-11 15:48:36 -0700
commit7c256e5a13dc32af12aa5c9f90a1be040e4e64e2 (patch)
tree6175c5caf093bd95bdb92d2184dc24c039157783 /indra/newview/llbottomtray.cpp
parent092e595b25e3e0cd27c480d864bfd894aaf3c987 (diff)
EXP-166 FIXED Front an Side Preset Views not accessible in Skylight viewer
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r--indra/newview/llbottomtray.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index fd11045f56..758bc7be64 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -220,6 +220,8 @@ LLBottomTray::LLBottomTray(const LLSD&)
buildFromFile("panel_bottomtray.xml");
+ LLUICtrl::CommitCallbackRegistry::defaultRegistrar().add("CameraPresets.ChangeView", boost::bind(&LLFloaterCamera::onClickCameraItem, _2));
+
//this is to fix a crash that occurs because LLBottomTray is a singleton
//and thus is deleted at the end of the viewers lifetime, but to be cleanly
//destroyed LLBottomTray requires some subsystems that are long gone