summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatereditdaycycle.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-06-02 23:16:08 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-06-02 23:16:08 +0300
commit27fdb654927db4c4597f733381a7b6568cfbb94b (patch)
treeafa0f14716d19e456e82d6a38af7ef470dcc7544 /indra/newview/llfloatereditdaycycle.cpp
parentbbc1283848e01bfd5284293d044eec53cde10d0e (diff)
STORM-1253 WIP Disabled ability to edit existing day cycle until the workflow is clear enough.
Diffstat (limited to 'indra/newview/llfloatereditdaycycle.cpp')
-rw-r--r--indra/newview/llfloatereditdaycycle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloatereditdaycycle.cpp b/indra/newview/llfloatereditdaycycle.cpp
index 36f71d6161..28ff353369 100644
--- a/indra/newview/llfloatereditdaycycle.cpp
+++ b/indra/newview/llfloatereditdaycycle.cpp
@@ -256,6 +256,7 @@ void LLFloaterEditDayCycle::refreshDayCyclesList()
mDayCyclesCombo->removeall();
+#if 0 // Disable editing existing day cycle until the workflow is clear enough.
const LLSD& region_day = LLEnvManagerNew::instance().getRegionSettings().getWLDayCycle();
if (region_day.size() > 0)
{
@@ -263,6 +264,7 @@ void LLFloaterEditDayCycle::refreshDayCyclesList()
mDayCyclesCombo->add(key.name, key.toLLSD());
mDayCyclesCombo->addSeparator();
}
+#endif
const LLDayCycleManager::dc_map_t& map = LLDayCycleManager::instance().getPresets();
for (LLDayCycleManager::dc_map_t::const_iterator it = map.begin(); it != map.end(); ++it)