summaryrefslogtreecommitdiff
path: root/indra/newview/llsettingsbase.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2017-10-05 15:40:48 -0700
committerRider Linden <rider@lindenlab.com>2017-10-05 15:40:48 -0700
commite4b035d0cd3eaa76fd82643c17e3631c67387a54 (patch)
tree9147a9993aa7e5b33808fd31fca3950d0f2c950f /indra/newview/llsettingsbase.cpp
parente97c52bdd3cfdf12c3eb2e423b193979de816f34 (diff)
Skys settings object active.
Diffstat (limited to 'indra/newview/llsettingsbase.cpp')
-rw-r--r--indra/newview/llsettingsbase.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/indra/newview/llsettingsbase.cpp b/indra/newview/llsettingsbase.cpp
index 1aafacae45..71ec240214 100644
--- a/indra/newview/llsettingsbase.cpp
+++ b/indra/newview/llsettingsbase.cpp
@@ -80,6 +80,14 @@ LLSD LLSettingsBase::combineSDMaps(const LLSD &settings, const LLSD &other) cons
newSettings[key_name].append(*ita);
}
break;
+ //case LLSD::TypeInteger:
+ //case LLSD::TypeReal:
+ //case LLSD::TypeBoolean:
+ //case LLSD::TypeString:
+ //case LLSD::TypeUUID:
+ //case LLSD::TypeURI:
+ //case LLSD::TypeDate:
+ //case LLSD::TypeBinary:
default:
newSettings[key_name] = value;
break;
@@ -106,6 +114,14 @@ LLSD LLSettingsBase::combineSDMaps(const LLSD &settings, const LLSD &other) cons
newSettings[key_name].append(*ita);
}
break;
+ //case LLSD::TypeInteger:
+ //case LLSD::TypeReal:
+ //case LLSD::TypeBoolean:
+ //case LLSD::TypeString:
+ //case LLSD::TypeUUID:
+ //case LLSD::TypeURI:
+ //case LLSD::TypeDate:
+ //case LLSD::TypeBinary:
default:
newSettings[key_name] = value;
break;
@@ -219,6 +235,11 @@ LLSD LLSettingsBase::interpolateSDMap(const LLSD &settings, const LLSD &other, F
return newSettings;
}
+LLSD LLSettingsBase::cloneSettings() const
+{
+ return combineSDMaps(mSettings, LLSD());
+}
+
void LLSettingsBase::exportSettings(std::string name) const
{