summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingsbase.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-11-01 20:41:56 +0100
committerGraham Linden <graham@lindenlab.com>2018-11-01 20:41:56 +0100
commite529da6ba7afd5ce9adffc3d02186a47c596b905 (patch)
tree0ef5661eee6d826d8e6eb69f54fd129cbe9cc5ff /indra/llinventory/llsettingsbase.cpp
parent4f267a5723e7da2de36b9f2295e4942a4c8bf6c5 (diff)
parente6b5ed3fefb1b5f0fca59075a20404a160b5116b (diff)
Merge
Diffstat (limited to 'indra/llinventory/llsettingsbase.cpp')
-rw-r--r--indra/llinventory/llsettingsbase.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llinventory/llsettingsbase.cpp b/indra/llinventory/llsettingsbase.cpp
index 80680948b5..4b8be04355 100644
--- a/indra/llinventory/llsettingsbase.cpp
+++ b/indra/llinventory/llsettingsbase.cpp
@@ -230,6 +230,11 @@ LLSD LLSettingsBase::interpolateSDMap(const LLSD &settings, const LLSD &other, c
// Blend against default value
newSettings[key_name] = interpolateSDValue(key_name, def_iter->second.getDefaultValue(), (*it).second, defaults, mix, slerps);
}
+ else if ((*it).second.type() == LLSD::TypeMap)
+ {
+ // interpolate in case there are defaults inside (part of legacy)
+ newSettings[key_name] = interpolateSDValue(key_name, LLSDMap(), (*it).second, defaults, mix, slerps);
+ }
// else do nothing when no known defaults
// TODO: Should I blend this out instead?
}