diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-08-06 16:22:06 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-08-06 16:22:06 +0300 |
commit | 21c6e6063f52398802fd63a81914eb42b76f3ff3 (patch) | |
tree | d4dac93891e5799c180c0ca632df88ace5945cde /indra/llinventory | |
parent | 057d115ac3de49db0e35066975441e64111c8369 (diff) |
MAINT-8952 EEP Changing one Day Cycle Keyframe can change other keyframes
Diffstat (limited to 'indra/llinventory')
-rw-r--r-- | indra/llinventory/llsettingsdaycycle.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llinventory/llsettingsdaycycle.cpp b/indra/llinventory/llsettingsdaycycle.cpp index a43eae16fe..ff9614fb10 100644 --- a/indra/llinventory/llsettingsdaycycle.cpp +++ b/indra/llinventory/llsettingsdaycycle.cpp @@ -262,7 +262,12 @@ bool LLSettingsDay::initialize() haswater |= true; else hassky |= true; - mDayTracks[i][keyframe] = setting; + + // Build clone since: + // - can use settings from "used" multiple times + // - settings can reuse LLSDs they were initialized from + // - LLSDs are 'smart' and can reuse them self multiple times + mDayTracks[i][keyframe] = setting->buildDerivedClone(); } } } |