summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingsbase.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-06-12 12:56:53 -0700
committerRider Linden <rider@lindenlab.com>2018-06-12 12:56:53 -0700
commite2adba65debbd1550a9eaead2a00e1426e8855a8 (patch)
tree063da30d637ca835919453ebdc5badd31326b9c5 /indra/llinventory/llsettingsbase.cpp
parent2add1e7abdf536b32bfbfa4b353189782df8cb19 (diff)
parent67ab0084f87c40bf31d7fadded55cc9ea6299ca2 (diff)
Merge
Diffstat (limited to 'indra/llinventory/llsettingsbase.cpp')
-rw-r--r--indra/llinventory/llsettingsbase.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llinventory/llsettingsbase.cpp b/indra/llinventory/llsettingsbase.cpp
index f28d90cb62..24e808c92a 100644
--- a/indra/llinventory/llsettingsbase.cpp
+++ b/indra/llinventory/llsettingsbase.cpp
@@ -207,7 +207,9 @@ LLSD LLSettingsBase::interpolateSDMap(const LLSD &settings, const LLSD &other, F
if (slerps.find(key_name) != slerps.end())
{
- LLQuaternion q = slerp(mix, LLQuaternion(value), LLQuaternion(other_value));
+ LLQuaternion a(value);
+ LLQuaternion b(other_value);
+ LLQuaternion q = slerp(mix, a, b);
newvalue = q.getValue();
}
else