summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingsdaycycle.cpp
diff options
context:
space:
mode:
authorGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-02-28 21:53:34 +0000
committerGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-02-28 21:53:34 +0000
commitaba5777d747d67db43e03772d30cb50d18d1a5d5 (patch)
tree10e4a3248143f709643bcc50490e982f93be30f7 /indra/llinventory/llsettingsdaycycle.cpp
parent72270213f5eebd019b10bdd6ec15020ba3d2ecf5 (diff)
parente2e63598d40109d01e0311ce1444d3feedffcf66 (diff)
Merge
Diffstat (limited to 'indra/llinventory/llsettingsdaycycle.cpp')
-rw-r--r--indra/llinventory/llsettingsdaycycle.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/llinventory/llsettingsdaycycle.cpp b/indra/llinventory/llsettingsdaycycle.cpp
index 409fcf28e3..b437ac57bd 100644
--- a/indra/llinventory/llsettingsdaycycle.cpp
+++ b/indra/llinventory/llsettingsdaycycle.cpp
@@ -290,6 +290,8 @@ LLSD LLSettingsDay::defaults()
dfltsetting[SETTING_FRAMES] = frames;
+ dfltsetting[SETTING_TYPE] = "daycycle";
+
return dfltsetting;
}
@@ -298,8 +300,6 @@ void LLSettingsDay::blend(const LLSettingsBase::ptr_t &other, F64 mix)
LL_ERRS("DAYCYCLE") << "Day cycles are not blendable!" << LL_ENDL;
}
-#pragma optimize("", off)
-
namespace
{
bool validateDayCycleTrack(LLSD &value)
@@ -431,7 +431,6 @@ namespace
}
}
-#pragma optimize("", on)
LLSettingsDay::validation_list_t LLSettingsDay::getValidationList() const
{
return LLSettingsDay::validationList();