diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-11-26 17:36:14 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-11-26 17:36:14 +0200 |
commit | 8d94e2af12aaf3cdb170a0b36e9ae36e91a2365d (patch) | |
tree | 63886ba607239840fe32df1586c111c2708b9312 /indra/newview/llpanelpresetscamerapulldown.cpp | |
parent | f4d4fb2ad0927ebb8545bac1abd1b74918a006f5 (diff) |
SL-12186 Update camera controls if preset was selected from the pulldown menu
Diffstat (limited to 'indra/newview/llpanelpresetscamerapulldown.cpp')
-rw-r--r-- | indra/newview/llpanelpresetscamerapulldown.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelpresetscamerapulldown.cpp b/indra/newview/llpanelpresetscamerapulldown.cpp index 1ac105e1c8..ae3d182f09 100644 --- a/indra/newview/llpanelpresetscamerapulldown.cpp +++ b/indra/newview/llpanelpresetscamerapulldown.cpp @@ -33,6 +33,7 @@ #include "llbutton.h" #include "lltabcontainer.h" +#include "llfloatercamera.h" #include "llfloaterreg.h" #include "llfloaterpreference.h" #include "llpresetsmanager.h" @@ -185,7 +186,7 @@ void LLPanelPresetsCameraPulldown::onRowClick(const LLSD& user_data) std::string name = item->getColumn(1)->getValue().asString(); LL_DEBUGS() << "selected '" << name << "'" << LL_ENDL; - LLPresetsManager::getInstance()->loadPreset(PRESETS_CAMERA, name); + LLFloaterCamera::switchToPreset(name); setVisible(FALSE); } |