Don't clobber custom windlight settings on teleport. Unsure why this was here, but it may be related to opensim 'windlight' message from sim. If so, then a better method is required.
This commit is contained in:
@@ -3759,10 +3759,10 @@ void process_teleport_finish(LLMessageSystem* msg, void**)
|
||||
*/
|
||||
|
||||
//Reset the windlight profile to default
|
||||
LLWLParamManager::instance()->mAnimator.mIsRunning = false;
|
||||
/*LLWLParamManager::instance()->mAnimator.mIsRunning = false;
|
||||
LLWLParamManager::instance()->mAnimator.mUseLindenTime = false;
|
||||
LLWLParamManager::instance()->loadPreset("Default", true);
|
||||
LLWaterParamManager::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 "
|
||||
|
||||
Reference in New Issue
Block a user