summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-09-28 17:13:50 -0700
committerRichard Linden <none@none>2010-09-28 17:13:50 -0700
commit51ad14db881a68722530d54b5ac799a49f11264b (patch)
tree378f21525f4a39b3ebb2a67eba9b24875f1d3925 /indra/newview
parentebb492089498450d858126bce35fecf09e62324d (diff)
moved callback registration to class that implements it
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloatercamera.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llfloatercamera.cpp b/indra/newview/llfloatercamera.cpp
index ad24c6534a..b4e211a38e 100644
--- a/indra/newview/llfloatercamera.cpp
+++ b/indra/newview/llfloatercamera.cpp
@@ -336,6 +336,9 @@ LLFloaterCamera::LLFloaterCamera(const LLSD& val)
mCurrMode(CAMERA_CTRL_MODE_PAN),
mPrevMode(CAMERA_CTRL_MODE_PAN)
{
+ LLUICtrl::CommitCallbackRegistry::ScopedRegistrar registrar;
+ registrar.add("CameraPresets.ChangeView", boost::bind(&LLFloaterCamera::onClickCameraItem, _2));
+
}
// virtual