summaryrefslogtreecommitdiff
path: root/indra/newview/llpresetsmanager.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2020-01-30 17:51:41 +0200
committermaxim_productengine <mnikolenko@productengine.com>2020-01-30 17:51:41 +0200
commit2c7a8a2485b98ff56e6fdc431bba5ccd226ae740 (patch)
tree839b7dd57c46a40c0d21ab0a8dee20f4c3d6c545 /indra/newview/llpresetsmanager.cpp
parente865c94513ea22f06ceab4c3698cb180fb30707a (diff)
SL-12618 FIXED The camera zoom position is incorrect after selecting the preset in some cases
Diffstat (limited to 'indra/newview/llpresetsmanager.cpp')
-rw-r--r--indra/newview/llpresetsmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpresetsmanager.cpp b/indra/newview/llpresetsmanager.cpp
index 6b83be2b70..eaf139b106 100644
--- a/indra/newview/llpresetsmanager.cpp
+++ b/indra/newview/llpresetsmanager.cpp
@@ -288,7 +288,7 @@ bool LLPresetsManager::savePreset(const std::string& subdirectory, std::string n
getControlNames(name_list);
name_list.push_back("PresetCameraActive");
- gSavedSettings.setF32("CameraZoomFraction", gAgentCamera.getCameraZoomFraction());
+ gSavedSettings.setF32("CameraZoomFraction", gAgentCamera.getCameraZoomFraction(true));
name_list.push_back("CameraZoomFraction");
}
else