aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Wind
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Wind')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs b/OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs
index 3fdb771..52eb6e7 100644
--- a/OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs
@@ -35,7 +35,7 @@ using OpenSim.Region.Environment.Scenes;
35 35
36namespace OpenSim.Region.Environment.Modules 36namespace OpenSim.Region.Environment.Modules
37{ 37{
38 public class WindModule : IRegionModule 38 public class WindModule : IWindModule
39 { 39 {
40 40
41 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 41 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
@@ -83,6 +83,7 @@ namespace OpenSim.Region.Environment.Modules
83 scene.EventManager.OnMakeChildAgent += MakeChildAgent; 83 scene.EventManager.OnMakeChildAgent += MakeChildAgent;
84 scene.EventManager.OnAvatarEnteringNewParcel += AvatarEnteringParcel; 84 scene.EventManager.OnAvatarEnteringNewParcel += AvatarEnteringParcel;
85 scene.EventManager.OnClientClosed += ClientLoggedOut; 85 scene.EventManager.OnClientClosed += ClientLoggedOut;
86 scene.RegisterModuleInterface<IWindModule>(this);
86 87
87 GenWindPos(); 88 GenWindPos();
88 89
@@ -117,6 +118,11 @@ namespace OpenSim.Region.Environment.Modules
117 get { return false; } 118 get { return false; }
118 } 119 }
119 120
121 public Vector2[] WindSpeeds
122 {
123 get { return windSpeeds; }
124 }
125
120 public void WindToClient(IClientAPI client) 126 public void WindToClient(IClientAPI client)
121 { 127 {
122 if (ready) 128 if (ready)