summaryrefslogtreecommitdiff
path: root/indra/newview/llwlhandlers.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2017-11-08 16:02:20 -0800
committerRider Linden <rider@lindenlab.com>2017-11-08 16:02:20 -0800
commitfe846ec9942af5ad2ab6a4aad9e8561ba9bc1fba (patch)
treea664e1205eef8fb255d0bdd46486b8586e7e30b9 /indra/newview/llwlhandlers.cpp
parent36c2992b01631150f7259c98df1cb46020757066 (diff)
Day cycles and animated sky/water blending.
Diffstat (limited to 'indra/newview/llwlhandlers.cpp')
-rw-r--r--indra/newview/llwlhandlers.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llwlhandlers.cpp b/indra/newview/llwlhandlers.cpp
index ea65a0c6d9..c3543f051d 100644
--- a/indra/newview/llwlhandlers.cpp
+++ b/indra/newview/llwlhandlers.cpp
@@ -34,6 +34,8 @@
#include "llnotificationsutil.h"
#include "llcorehttputil.h"
+#include "llenvironment.h"
+
/****
* LLEnvironmentRequest
****/
@@ -114,7 +116,8 @@ void LLEnvironmentRequest::environmentRequestCoro(std::string url)
if (!status)
{
LL_WARNS("WindlightCaps") << "Got an error, not using region windlight... " << LL_ENDL;
- LLEnvManagerNew::getInstance()->onRegionSettingsResponse(LLSD());
+ LLEnvironment::instance().onLegacyRegionSettings(LLSD());
+
return;
}
result = result["content"];
@@ -134,7 +137,7 @@ void LLEnvironmentRequest::environmentRequestCoro(std::string url)
return;
}
- LLEnvManagerNew::getInstance()->onRegionSettingsResponse(result);
+ LLEnvironment::instance().onLegacyRegionSettings(result);
}