diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-04-05 17:05:01 +0300 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-04-05 17:05:01 +0300 |
commit | d7789999cb6bab7b4e28236d99c4c2a8006497ff (patch) | |
tree | 10da8b68eb6de4ab2d47133408f779d483bb9820 /indra | |
parent | 6d756c53376cfc12feea75d145e28b5c02c9944a (diff) |
SL-10897 FIXED [EEP] Sliding a keyframe will not prompt to save changes before closing the window.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloatereditextdaycycle.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfloatereditextdaycycle.cpp b/indra/newview/llfloatereditextdaycycle.cpp index 613ff30c32..3846dfd2a4 100644 --- a/indra/newview/llfloatereditextdaycycle.cpp +++ b/indra/newview/llfloatereditextdaycycle.cpp @@ -776,7 +776,7 @@ void LLFloaterEditExtDayCycle::onAddFrame() setting = sky; mEditDay->setSkyAtKeyframe(sky, frame, mCurrentTrack); } - + setDirtyFlag(); addSliderFrame(frame, setting); updateTabs(); } @@ -788,6 +788,7 @@ void LLFloaterEditExtDayCycle::onRemoveFrame() { return; } + setDirtyFlag(); removeCurrentSliderFrame(); updateTabs(); } @@ -964,6 +965,7 @@ void LLFloaterEditExtDayCycle::onFrameSliderCallback(const LLSD &data) // reselect new frame mFramesSlider->setCurSlider(it->first); mShiftCopyEnabled = false; + setDirtyFlag(); } } else @@ -971,6 +973,7 @@ void LLFloaterEditExtDayCycle::onFrameSliderCallback(const LLSD &data) if (mEditDay->moveTrackKeyframe(mCurrentTrack, (*it).second.mFrame, sliderpos) && mCanMod) { (*it).second.mFrame = sliderpos; + setDirtyFlag(); } else { |