aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-17 14:22:48 +0000
committerAdam Frisby2008-04-17 14:22:48 +0000
commit200b60bd4882ec373e658c6c3440fdb1971af1a6 (patch)
tree029703c2262241afebefcdb7023f9314f7fc2036 /OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs
parent* Added a directory for the SVN module. More about to come.* SVNBackupModule (diff)
downloadopensim-SC-200b60bd4882ec373e658c6c3440fdb1971af1a6.zip
opensim-SC-200b60bd4882ec373e658c6c3440fdb1971af1a6.tar.gz
opensim-SC-200b60bd4882ec373e658c6c3440fdb1971af1a6.tar.bz2
opensim-SC-200b60bd4882ec373e658c6c3440fdb1971af1a6.tar.xz
* Added ITerrainModule interface to Terrain Module, and registered accordingly in Scene.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs
index e9f1785..27bfb36 100644
--- a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs
+++ b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs
@@ -37,7 +37,7 @@ using OpenSim.Region.Environment.Modules.ModuleFramework;
37 37
38namespace OpenSim.Region.Environment.Modules.Terrain 38namespace OpenSim.Region.Environment.Modules.Terrain
39{ 39{
40 public class TerrainModule : IRegionModule, ICommandableModule 40 public class TerrainModule : IRegionModule, ICommandableModule, OpenSim.Region.Environment.Modules.Terrain.ITerrainModule
41 { 41 {
42 public enum StandardTerrainEffects : byte 42 public enum StandardTerrainEffects : byte
43 { 43 {
@@ -217,6 +217,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain
217 UpdateRevertMap(); 217 UpdateRevertMap();
218 } 218 }
219 219
220 m_scene.RegisterModuleInterface<ITerrainModule>(this);
220 m_scene.EventManager.OnNewClient += EventManager_OnNewClient; 221 m_scene.EventManager.OnNewClient += EventManager_OnNewClient;
221 m_scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; 222 m_scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole;
222 m_scene.EventManager.OnTerrainTick += EventManager_OnTerrainTick; 223 m_scene.EventManager.OnTerrainTick += EventManager_OnTerrainTick;