summaryrefslogtreecommitdiff
path: root/indra/newview/llpresetsmanager.cpp
diff options
context:
space:
mode:
authorJonathan Yap <jhwelch@gmail.com>2018-01-15 16:01:24 -0500
committerJonathan Yap <jhwelch@gmail.com>2018-01-15 16:01:24 -0500
commita1b3436586514c6be5c4d7703dfc68a66d942075 (patch)
treeb3f8e83550b0fa67767a15629deceb53d0e8e53a /indra/newview/llpresetsmanager.cpp
parent3afaa799628c74abdd1542514bc3852432c3925b (diff)
STORM-2145 Get current preset indicator to work properly
Diffstat (limited to 'indra/newview/llpresetsmanager.cpp')
-rw-r--r--indra/newview/llpresetsmanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpresetsmanager.cpp b/indra/newview/llpresetsmanager.cpp
index d4535c69c8..7368615365 100644
--- a/indra/newview/llpresetsmanager.cpp
+++ b/indra/newview/llpresetsmanager.cpp
@@ -208,6 +208,12 @@ bool LLPresetsManager::isCameraDirty()
void LLPresetsManager::settingChanged()
{
setCameraDirty(true);
+
+ gSavedSettings.setString("PresetCameraActive", "");
+
+// Hack call because this is a static routine
+ LLPresetsManager::getInstance()->triggerChangeCameraSignal();
+
}
void LLPresetsManager::getControlNames(std::vector<std::string>& names)