summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-06-07 18:46:36 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-06-07 18:46:36 +0300
commitb68a4fdcd7f4f2f8599e9336714d2d0a2b8fd259 (patch)
tree97177852b317cf8760b69d5eb0137d794e5ba7fc /indra/newview
parent8d2985fb5ddba40a5d6db72a4a8afdd3af4af062 (diff)
STORM-1255 Removed dead code.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloatereditdaycycle.cpp18
-rw-r--r--indra/newview/llfloatereditdaycycle.h1
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);