summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersavecamerapreset.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-04-23 13:22:27 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-04-23 13:22:27 +0300
commit2ea5c5986a467e253ad0131b4af0faee23b263a4 (patch)
treea9ccdf88ad87f3c6609fdc445c8d5a7aa9f9167c /indra/newview/llfloatersavecamerapreset.cpp
parent74d6e6b65c9c3e85e8ec84939b35a1e584379e1f (diff)
SL-12904 Temporarily use LLSD to avoid crashes on older viewers
Diffstat (limited to 'indra/newview/llfloatersavecamerapreset.cpp')
-rw-r--r--indra/newview/llfloatersavecamerapreset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatersavecamerapreset.cpp b/indra/newview/llfloatersavecamerapreset.cpp
index 5704a7a525..11809f9c82 100644
--- a/indra/newview/llfloatersavecamerapreset.cpp
+++ b/indra/newview/llfloatersavecamerapreset.cpp
@@ -106,7 +106,7 @@ void LLFloaterSaveCameraPreset::onBtnSave()
{
if (isAgentAvatarValid() && gAgentAvatarp->getParent())
{
- gSavedSettings.setQuaternion("AvatarSitRotation", gAgent.getFrameAgent().getQuaternion());
+ gSavedSettings.setLLSD("AvatarSitRotation", gAgent.getFrameAgent().getQuaternion().getValue());
}
if (gAgentCamera.isJoystickCameraUsed())
{