From 9131ba23e1f8a52127b5a5b069d5237ca6d662ea Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 24 Sep 2008 22:24:10 +0000 Subject: Add a module selection option for the MapImage Module as well --- OpenSim/Region/Environment/Modules/World/WorldMap/MapImageModule.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Modules/World/WorldMap/MapImageModule.cs b/OpenSim/Region/Environment/Modules/World/WorldMap/MapImageModule.cs index cfbe5ae..556b843 100644 --- a/OpenSim/Region/Environment/Modules/World/WorldMap/MapImageModule.cs +++ b/OpenSim/Region/Environment/Modules/World/WorldMap/MapImageModule.cs @@ -134,6 +134,12 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap { m_scene = scene; m_config = source; + + IConfig startupConfig = m_config.Configs["Startup"]; + if (startupConfig.GetString("MapImageModule", "MapImageModule") != + "MapImageModule") + return; + m_scene.RegisterModuleInterface(this); } -- cgit v1.1