From e409e98f417a09ceae4978bf5eba23f5c527befc Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Fri, 27 Aug 2010 00:21:48 +0200 Subject: Katharine Berry: Don't let people add notecarded windlight entries to the day cycle editor. --- linden/indra/newview/llfloaterdaycycle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linden/indra/newview/llfloaterdaycycle.cpp b/linden/indra/newview/llfloaterdaycycle.cpp index 58876a8..cfe73ef 100644 --- a/linden/indra/newview/llfloaterdaycycle.cpp +++ b/linden/indra/newview/llfloaterdaycycle.cpp @@ -76,7 +76,8 @@ LLFloaterDayCycle::LLFloaterDayCycle() : LLFloater(std::string("Day Cycle Floate LLWLParamManager::instance()->mParamList.begin(); for(; mIt != LLWLParamManager::instance()->mParamList.end(); mIt++) { - keyCombo->add(std::string(mIt->first)); + if(mIt->second.mInventoryID.isNull()) + keyCombo->add(std::string(mIt->first)); } // set defaults on combo boxes -- cgit v1.1