aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Wind
diff options
context:
space:
mode:
authorUbitUmarov2016-09-22 19:25:04 +0100
committerUbitUmarov2016-09-22 19:25:04 +0100
commitd3627c4f33d59568b909f4db5a7456e737e32250 (patch)
tree0a8ac026640778f49d6ce4f24da7a49233ff8a04 /OpenSim/Region/CoreModules/World/Wind
parentmantis 8027: let osMessageAttachments also send to attachments child prims.. ... (diff)
downloadopensim-SC_OLD-d3627c4f33d59568b909f4db5a7456e737e32250.zip
opensim-SC_OLD-d3627c4f33d59568b909f4db5a7456e737e32250.tar.gz
opensim-SC_OLD-d3627c4f33d59568b909f4db5a7456e737e32250.tar.bz2
opensim-SC_OLD-d3627c4f33d59568b909f4db5a7456e737e32250.tar.xz
no need to send wind on avatar arrival when it is sent periodicly
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Wind')
-rw-r--r--OpenSim/Region/CoreModules/World/Wind/WindModule.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
index 35014f5..2f401bf 100644
--- a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
+++ b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
@@ -154,7 +154,7 @@ namespace OpenSim.Region.CoreModules
154 154
155 // Register event handlers for when Avatars enter the region, and frame ticks 155 // Register event handlers for when Avatars enter the region, and frame ticks
156 m_scene.EventManager.OnFrame += WindUpdate; 156 m_scene.EventManager.OnFrame += WindUpdate;
157 m_scene.EventManager.OnMakeRootAgent += OnAgentEnteredRegion; 157// m_scene.EventManager.OnMakeRootAgent += OnAgentEnteredRegion;
158 158
159 // Register the wind module 159 // Register the wind module
160 m_scene.RegisterModuleInterface<IWindModule>(this); 160 m_scene.RegisterModuleInterface<IWindModule>(this);
@@ -184,7 +184,7 @@ namespace OpenSim.Region.CoreModules
184 184
185 // Remove our hooks 185 // Remove our hooks
186 m_scene.EventManager.OnFrame -= WindUpdate; 186 m_scene.EventManager.OnFrame -= WindUpdate;
187 m_scene.EventManager.OnMakeRootAgent -= OnAgentEnteredRegion; 187// m_scene.EventManager.OnMakeRootAgent -= OnAgentEnteredRegion;
188 188
189 } 189 }
190 190
@@ -425,7 +425,7 @@ namespace OpenSim.Region.CoreModules
425 425
426 SendWindAllClients(); 426 SendWindAllClients();
427 } 427 }
428 428/*
429 public void OnAgentEnteredRegion(ScenePresence avatar) 429 public void OnAgentEnteredRegion(ScenePresence avatar)
430 { 430 {
431 if (m_ready) 431 if (m_ready)
@@ -444,7 +444,7 @@ namespace OpenSim.Region.CoreModules
444 avatar.ControllingClient.SendWindData(windSpeeds); 444 avatar.ControllingClient.SendWindData(windSpeeds);
445 } 445 }
446 } 446 }
447 447*/
448 private void SendWindAllClients() 448 private void SendWindAllClients()
449 { 449 {
450 if (m_ready) 450 if (m_ready)