From 21c6e6063f52398802fd63a81914eb42b76f3ff3 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Mon, 6 Aug 2018 16:22:06 +0300 Subject: MAINT-8952 EEP Changing one Day Cycle Keyframe can change other keyframes --- indra/llinventory/llsettingsdaycycle.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'indra') 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(); } } } -- cgit v1.2.3