summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/app_settings/camera/Front.xml2
-rw-r--r--indra/newview/app_settings/camera/Rear.xml2
-rw-r--r--indra/newview/app_settings/camera/Side.xml2
-rw-r--r--indra/newview/app_settings/settings.xml2
-rw-r--r--indra/newview/llfloatercamera.cpp2
-rw-r--r--indra/newview/llfloatersavecamerapreset.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/app_settings/camera/Front.xml b/indra/newview/app_settings/camera/Front.xml
index f9f615c4a7..39f44e11a8 100644
--- a/indra/newview/app_settings/camera/Front.xml
+++ b/indra/newview/app_settings/camera/Front.xml
@@ -18,7 +18,7 @@
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
- <string>Quaternion</string>
+ <string>LLSD</string>
<key>Value</key>
<array>
<real>0</real>
diff --git a/indra/newview/app_settings/camera/Rear.xml b/indra/newview/app_settings/camera/Rear.xml
index a084f83bfe..8dc36353ce 100644
--- a/indra/newview/app_settings/camera/Rear.xml
+++ b/indra/newview/app_settings/camera/Rear.xml
@@ -18,7 +18,7 @@
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
- <string>Quaternion</string>
+ <string>LLSD</string>
<key>Value</key>
<array>
<real>0</real>
diff --git a/indra/newview/app_settings/camera/Side.xml b/indra/newview/app_settings/camera/Side.xml
index 5db5b164bd..089ab93a8f 100644
--- a/indra/newview/app_settings/camera/Side.xml
+++ b/indra/newview/app_settings/camera/Side.xml
@@ -18,7 +18,7 @@
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
- <string>Quaternion</string>
+ <string>LLSD</string>
<key>Value</key>
<array>
<real>0</real>
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 84448919e1..3e3d6a7237 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -4404,7 +4404,7 @@
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
- <string>Quaternion</string>
+ <string>LLSD</string>
<key>Value</key>
<array>
<real>0</real>
diff --git a/indra/newview/llfloatercamera.cpp b/indra/newview/llfloatercamera.cpp
index 2399e4f495..d574f1433f 100644
--- a/indra/newview/llfloatercamera.cpp
+++ b/indra/newview/llfloatercamera.cpp
@@ -569,7 +569,7 @@ void LLFloaterCamera::switchToPreset(const std::string& name)
if (isAgentAvatarValid() && gAgentAvatarp->getParent())
{
- LLQuaternion sit_rot = gSavedSettings.getQuaternion("AvatarSitRotation");
+ LLQuaternion sit_rot(gSavedSettings.getLLSD("AvatarSitRotation"));
if (sit_rot != LLQuaternion())
{
gAgent.rotate(~gAgent.getFrameAgent().getQuaternion());
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())
{