summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-08-03 16:57:04 -0700
committerRider Linden <rider@lindenlab.com>2018-08-03 16:57:04 -0700
commit7e8c849a155eb7de73a324cb3d7195502ff1f574 (patch)
tree9ad1ebdac801612c18525bfda3aa3a6b9b13c8a8 /indra
parent3f6cedbbf340ae4a4d825472aca53e0c04ee5322 (diff)
Fix name change from clearTrack to clealCycleTrack
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llenvironment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llenvironment.cpp b/indra/newview/llenvironment.cpp
index 3bcdf345f1..b73b8cb278 100644
--- a/indra/newview/llenvironment.cpp
+++ b/indra/newview/llenvironment.cpp
@@ -1479,12 +1479,12 @@ LLSettingsDay::ptr_t LLEnvironment::createDayCycleFromEnvironment(EnvSelection_t
if (type == "sky")
{
for (S32 idx = 1; idx < LLSettingsDay::TRACK_MAX; ++idx)
- day->clearTrack(idx);
+ day->clearCycleTrack(idx);
day->setSettingsAtKeyframe(settings, 0.0f, 1);
}
else if (type == "water")
{
- day->clearTrack(LLSettingsDay::TRACK_WATER);
+ day->clearCycleTrack(LLSettingsDay::TRACK_WATER);
day->setSettingsAtKeyframe(settings, 0.0f, LLSettingsDay::TRACK_WATER);
}