diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-14 18:04:29 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-14 18:04:29 +0300 |
commit | ab431d1774d5b282836a3327dd0bfa8b3b91632b (patch) | |
tree | 22e89504eb196f0310b5473d299950c8ea8476f6 /indra/newview/llenvmanager.cpp | |
parent | 4fd946fa3e5217b8f64e0fcd91d268c7eaf1bbf5 (diff) |
STORM-1305 WIP User day cycles now go first in all lists.
Diffstat (limited to 'indra/newview/llenvmanager.cpp')
-rw-r--r-- | indra/newview/llenvmanager.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llenvmanager.cpp b/indra/newview/llenvmanager.cpp index c08ef34685..4051a4d8db 100644 --- a/indra/newview/llenvmanager.cpp +++ b/indra/newview/llenvmanager.cpp @@ -918,10 +918,11 @@ void LLEnvManagerNew::dumpPresets() { LL_DEBUGS("Windlight") << " - " << region_name << LL_ENDL; } - const LLDayCycleManager::dc_map_t& map = LLDayCycleManager::instance().getPresets(); - for (LLDayCycleManager::dc_map_t::const_iterator it = map.begin(); it != map.end(); ++it) + LLDayCycleManager::preset_name_list_t days; + LLDayCycleManager::instance().getPresetNames(days); + for (LLDayCycleManager::preset_name_list_t::const_iterator it = days.begin(); it != days.end(); ++it) { - LL_DEBUGS("Windlight") << " - " << it->first << LL_ENDL; + LL_DEBUGS("Windlight") << " - " << *it << LL_ENDL; } } |