Make windlight set the default environment on start
parent
cb6e4035c7
commit
eb17d581d3
|
@ -91,6 +91,7 @@ namespace OpenSim.Region.CoreModules.World.LightShare
|
||||||
m_scene.EventManager.OnMakeRootAgent += EventManager_OnMakeRootAgent;
|
m_scene.EventManager.OnMakeRootAgent += EventManager_OnMakeRootAgent;
|
||||||
m_scene.EventManager.OnSaveNewWindlightProfile += EventManager_OnSaveNewWindlightProfile;
|
m_scene.EventManager.OnSaveNewWindlightProfile += EventManager_OnSaveNewWindlightProfile;
|
||||||
m_scene.EventManager.OnSendNewWindlightProfileTargeted += EventManager_OnSendNewWindlightProfileTargeted;
|
m_scene.EventManager.OnSendNewWindlightProfileTargeted += EventManager_OnSendNewWindlightProfileTargeted;
|
||||||
|
m_scene.LoadWindlightProfile();
|
||||||
}
|
}
|
||||||
|
|
||||||
InstallCommands();
|
InstallCommands();
|
||||||
|
|
Loading…
Reference in New Issue