Fix broken callback initialization for PBR terrain panel
parent
9a86b315d9
commit
6c5231d56e
|
|
@ -912,8 +912,11 @@ void LLPanelRegionInfo::initCtrl(const std::string& name)
|
|||
template<typename CTRL>
|
||||
void LLPanelRegionInfo::initAndSetCtrl(CTRL*& ctrl, const std::string& name)
|
||||
{
|
||||
initCtrl(name);
|
||||
// <FS:Ansariel> Fix broken initialization
|
||||
//initCtrl(name);
|
||||
ctrl = findChild<CTRL>(name);
|
||||
if (ctrl)
|
||||
ctrl->setCommitCallback(boost::bind(&LLPanelRegionInfo::onChangeAnything, this));
|
||||
}
|
||||
|
||||
void LLPanelRegionInfo::onClickManageTelehub()
|
||||
|
|
|
|||
Loading…
Reference in New Issue