From 200b60bd4882ec373e658c6c3440fdb1971af1a6 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 17 Apr 2008 14:22:48 +0000 Subject: * Added ITerrainModule interface to Terrain Module, and registered accordingly in Scene. --- OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs') 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; namespace OpenSim.Region.Environment.Modules.Terrain { - public class TerrainModule : IRegionModule, ICommandableModule + public class TerrainModule : IRegionModule, ICommandableModule, OpenSim.Region.Environment.Modules.Terrain.ITerrainModule { public enum StandardTerrainEffects : byte { @@ -217,6 +217,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain UpdateRevertMap(); } + m_scene.RegisterModuleInterface(this); m_scene.EventManager.OnNewClient += EventManager_OnNewClient; m_scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; m_scene.EventManager.OnTerrainTick += EventManager_OnTerrainTick; -- cgit v1.1