meta7 LightShare
This commit is contained in:
@@ -160,6 +160,9 @@
|
||||
#include "hippofloaterxml.h"
|
||||
#include "llversionviewer.h"
|
||||
|
||||
#include "llwlparammanager.h"
|
||||
#include "llwaterparammanager.h"
|
||||
|
||||
#include <boost/tokenizer.hpp>
|
||||
|
||||
#if LL_WINDOWS // For Windows specific error handler
|
||||
@@ -3663,6 +3666,12 @@ void process_teleport_finish(LLMessageSystem* msg, void**)
|
||||
gCacheName->setUpstream(sim);
|
||||
*/
|
||||
|
||||
//Reset the windlight profile to default
|
||||
LLWLParamManager::instance()->mAnimator.mIsRunning = false;
|
||||
LLWLParamManager::instance()->mAnimator.mUseLindenTime = false;
|
||||
LLWLParamManager::instance()->loadPreset("Default", true);
|
||||
LLWaterParamManager::instance()->loadPreset("Default",true);
|
||||
|
||||
// now, use the circuit info to tell simulator about us!
|
||||
LL_INFOS("Messaging") << "process_teleport_finish() Enabling "
|
||||
<< sim_host << " with code " << msg->mOurCircuitCode << LL_ENDL;
|
||||
|
||||
Reference in New Issue
Block a user