diff options
| author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2024-08-29 15:43:01 +0200 |
|---|---|---|
| committer | Guru <alexandrgproductengine@lindenlab.com> | 2024-08-30 00:55:32 +0200 |
| commit | 17fed3985f56033f6c433436935cfde32ea1e7c6 (patch) | |
| tree | 5afdcc0a16ac485d4878ab9b9e399da8a55aa806 /indra/newview/llsettingsvo.cpp | |
| parent | ecf3002a4623ebed0ed31bcc11f743000deeac84 (diff) | |
#2360 Incorrect Day Cycle name in Edit Day Cycle floater (remove unused key CANMOD)
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
| -rw-r--r-- | indra/newview/llsettingsvo.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp index 5152570786..e05b6f3736 100644 --- a/indra/newview/llsettingsvo.cpp +++ b/indra/newview/llsettingsvo.cpp @@ -1387,9 +1387,12 @@ LLSettingsDay::ptr_t LLSettingsVODay::buildClone() const LLSettingsDay::ptr_t dayp = std::make_shared<LLSettingsVODay>(settings); - U32 flags = getFlags(); - if (flags) + dayp->setName(getName()); + + if (U32 flags = getFlags()) + { dayp->setFlags(flags); + } dayp->initialize(); return dayp; |
