diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-07-28 16:17:23 +0200 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-07-29 21:22:05 +0300 |
commit | d163d9032314335825b6f713e388342dde9174e7 (patch) | |
tree | 20ee1e8eba3c8ce94d92d0ea42b32e2c72cfff3d /indra/newview/llfloaterregioninfo.cpp | |
parent | ed73208eb96b862b97fa285036edea1e792ca3c6 (diff) |
Fix callbacks for PBR region terrain panel not getting wired up properly
Diffstat (limited to 'indra/newview/llfloaterregioninfo.cpp')
-rw-r--r-- | indra/newview/llfloaterregioninfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp index 8807509a2e..3ef44bf74a 100644 --- a/indra/newview/llfloaterregioninfo.cpp +++ b/indra/newview/llfloaterregioninfo.cpp @@ -852,8 +852,9 @@ void LLPanelRegionInfo::initCtrl(const std::string& name) template<typename CTRL> void LLPanelRegionInfo::initAndSetCtrl(CTRL*& ctrl, const std::string& name) { - initCtrl(name); ctrl = findChild<CTRL>(name); + if (ctrl) + ctrl->setCommitCallback(boost::bind(&LLPanelRegionInfo::onChangeAnything, this)); } void LLPanelRegionInfo::onClickManageTelehub() |