aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2010-04-21 01:51:11 -0500
committerJacek Antonelli2010-06-19 02:40:56 -0500
commitbf7bc88cfcdbd08c2afd965844f64bf315ba4b7e (patch)
tree86c0891401fe8d54db781e3344a9eed1cbeb54af /linden/indra/newview/llviewermessage.cpp
parentImproved OpenSim Scripting Language function tooltips. (diff)
downloadmeta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.zip
meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.tar.gz
meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.tar.bz2
meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.tar.xz
Applied patch for LightShare viewer-side implementation.
Ported from Meta7 viewer by Armin.
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r--linden/indra/newview/llviewermessage.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index 1e185e6..0132f11 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -138,6 +138,9 @@
138#include "llviewerdisplay.h" 138#include "llviewerdisplay.h"
139#include "llkeythrottle.h" 139#include "llkeythrottle.h"
140 140
141#include "llwlparammanager.h"
142#include "llwaterparammanager.h"
143
141#include <boost/tokenizer.hpp> 144#include <boost/tokenizer.hpp>
142#include <boost/regex.hpp> // Boost Reg Expresions 145#include <boost/regex.hpp> // Boost Reg Expresions
143 146
@@ -3212,6 +3215,12 @@ void process_teleport_finish(LLMessageSystem* msg, void**)
3212 gCacheName->setUpstream(sim); 3215 gCacheName->setUpstream(sim);
3213*/ 3216*/
3214 3217
3218 //Reset the windlight profile to default
3219 LLWLParamManager::instance()->mAnimator.mIsRunning = false;
3220 LLWLParamManager::instance()->mAnimator.mUseLindenTime = false;
3221 LLWLParamManager::instance()->loadPreset("Default", true);
3222 LLWaterParamManager::instance()->loadPreset("Default",true);
3223
3215 // now, use the circuit info to tell simulator about us! 3224 // now, use the circuit info to tell simulator about us!
3216 LL_INFOS("Messaging") << "process_teleport_finish() Enabling " 3225 LL_INFOS("Messaging") << "process_teleport_finish() Enabling "
3217 << sim_host << " with code " << msg->mOurCircuitCode << LL_ENDL; 3226 << sim_host << " with code " << msg->mOurCircuitCode << LL_ENDL;