diff options
-rw-r--r-- | indra/newview/llfloatereditdaycycle.cpp | 18 | ||||
-rw-r--r-- | indra/newview/llfloatereditdaycycle.h | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/indra/newview/llfloatereditdaycycle.cpp b/indra/newview/llfloatereditdaycycle.cpp index 257644d80c..ebb8369c8f 100644 --- a/indra/newview/llfloatereditdaycycle.cpp +++ b/indra/newview/llfloatereditdaycycle.cpp @@ -457,24 +457,6 @@ LLWLParamKey LLFloaterEditDayCycle::getSelectedDayCycle() return dc_key; } -void LLFloaterEditDayCycle::deletePreset(LLWLParamKey keyframe) -{ - // *TODO: This should be called when a sky preset gets deleted. - - /// delete any reference - std::map<std::string, SliderKey>::iterator curr_preset, next_preset; - for (curr_preset = mSliderToKey.begin(); curr_preset != mSliderToKey.end(); curr_preset = next_preset) - { - next_preset = curr_preset; - ++next_preset; - if (curr_preset->second.keyframe == keyframe) - { - mKeysSlider->deleteSlider(curr_preset->first); - mSliderToKey.erase(curr_preset); - } - } -} - bool LLFloaterEditDayCycle::isNewDay() const { return mKey.asString() == "new"; diff --git a/indra/newview/llfloatereditdaycycle.h b/indra/newview/llfloatereditdaycycle.h index a27bc69792..e6e4fe39c1 100644 --- a/indra/newview/llfloatereditdaycycle.h +++ b/indra/newview/llfloatereditdaycycle.h @@ -74,7 +74,6 @@ private: void initCallbacks(); LLWLParamKey getSelectedDayCycle(); - void deletePreset(LLWLParamKey keyframe); bool isNewDay() const; void dumpTrack(); void enableEditing(bool enable); |