diff options
author | Richard Linden <none@none> | 2010-09-28 17:13:50 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-09-28 17:13:50 -0700 |
commit | 51ad14db881a68722530d54b5ac799a49f11264b (patch) | |
tree | 378f21525f4a39b3ebb2a67eba9b24875f1d3925 /indra | |
parent | ebb492089498450d858126bce35fecf09e62324d (diff) |
moved callback registration to class that implements it
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloatercamera.cpp | 3 |
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 |