diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/LightShare/LightShareModule.cs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs index 0754ca8..cdaf5b7 100644 --- a/OpenSim/Data/MySQL/MySQLSimulationData.cs +++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs | |||
@@ -753,7 +753,7 @@ namespace OpenSim.Data.MySQL | |||
753 | { | 753 | { |
754 | //No result, so store our default windlight profile and return it | 754 | //No result, so store our default windlight profile and return it |
755 | nWP.regionID = regionUUID; | 755 | nWP.regionID = regionUUID; |
756 | StoreRegionWindlightSettings(nWP); | 756 | // StoreRegionWindlightSettings(nWP); |
757 | return nWP; | 757 | return nWP; |
758 | } | 758 | } |
759 | else | 759 | else |
diff --git a/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs b/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs index 2de8d7a..93e65c3 100644 --- a/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs +++ b/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs | |||
@@ -181,7 +181,8 @@ namespace OpenSim.Region.CoreModules.World.LightShare | |||
181 | } | 181 | } |
182 | private void EventManager_OnMakeRootAgent(ScenePresence presence) | 182 | private void EventManager_OnMakeRootAgent(ScenePresence presence) |
183 | { | 183 | { |
184 | m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client"); | 184 | if (m_enableWindlight && m_scene.RegionInfo.WindlightSettings.valid) |
185 | m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client"); | ||
185 | SendProfileToClient(presence); | 186 | SendProfileToClient(presence); |
186 | } | 187 | } |
187 | private void EventManager_OnSendNewWindlightProfileTargeted(RegionLightShareData wl, UUID pUUID) | 188 | private void EventManager_OnSendNewWindlightProfileTargeted(RegionLightShareData wl, UUID pUUID) |