diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs b/OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs index 4e20196..0a4e83e 100644 --- a/OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs +++ b/OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs | |||
@@ -195,19 +195,20 @@ namespace OpenSim.Region.CoreModules.World.LightShare | |||
195 | if (m_scene.RegionInfo.WindlightSettings.valid) | 195 | if (m_scene.RegionInfo.WindlightSettings.valid) |
196 | { | 196 | { |
197 | List<byte[]> param = compileWindlightSettings(wl); | 197 | List<byte[]> param = compileWindlightSettings(wl); |
198 | client.SendGenericMessage("Windlight", param); | 198 | client.SendGenericMessage("Windlight", UUID.Random(), param); |
199 | } | 199 | } |
200 | else | 200 | else |
201 | { | 201 | { |
202 | List<byte[]> param = new List<byte[]>(); | 202 | List<byte[]> param = new List<byte[]>(); |
203 | client.SendGenericMessage("WindlightReset", param); | 203 | client.SendGenericMessage("WindlightReset", UUID.Random(), param); |
204 | } | 204 | } |
205 | } | 205 | } |
206 | } | 206 | } |
207 | 207 | ||
208 | private void EventManager_OnMakeRootAgent(ScenePresence presence) | 208 | private void EventManager_OnMakeRootAgent(ScenePresence presence) |
209 | { | 209 | { |
210 | m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client"); | 210 | // m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client {0}", presence.Name); |
211 | |||
211 | SendProfileToClient(presence.ControllingClient); | 212 | SendProfileToClient(presence.ControllingClient); |
212 | } | 213 | } |
213 | 214 | ||