summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-09-04 13:51:31 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-09-04 13:51:31 +0300
commite5bcd6f50a8247dde1121210150835d968dc214d (patch)
tree27f2d17c397bbebc1a1071248b63dc6d33a43cb7 /indra/llinventory
parente25d23aaac77f3793207aa0baf59ae64ea5eba41 (diff)
parent2fc8d5ff3cfa1b9ad00b310cd4a6cdb557b9415c (diff)
Merge branch 'develop' into marchcat/b-develop
# Conflicts: # indra/llcommon/llerror.h
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/llsettingsbase.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llinventory/llsettingsbase.cpp b/indra/llinventory/llsettingsbase.cpp
index 7b55fbc9e8..4aab3dee3b 100644
--- a/indra/llinventory/llsettingsbase.cpp
+++ b/indra/llinventory/llsettingsbase.cpp
@@ -355,10 +355,11 @@ LLSD LLSettingsBase::getSettings() const
LLSD LLSettingsBase::cloneSettings() const
{
- U32 flags = getFlags();
- LLSD settings (combineSDMaps(getSettings(), LLSD()));
- if (flags)
+ LLSD settings(combineSDMaps(getSettings(), LLSD()));
+ if (U32 flags = getFlags())
+ {
settings[SETTING_FLAGS] = LLSD::Integer(flags);
+ }
return settings;
}