diff options
author | Melanie Thielker | 2008-09-24 22:24:10 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-24 22:24:10 +0000 |
commit | 9131ba23e1f8a52127b5a5b069d5237ca6d662ea (patch) | |
tree | ad570769eaae5d985896a5e7c77f3715d6a6cbe7 /OpenSim/Region/Environment/Modules | |
parent | Correct a capitalization error (diff) | |
download | opensim-SC-9131ba23e1f8a52127b5a5b069d5237ca6d662ea.zip opensim-SC-9131ba23e1f8a52127b5a5b069d5237ca6d662ea.tar.gz opensim-SC-9131ba23e1f8a52127b5a5b069d5237ca6d662ea.tar.bz2 opensim-SC-9131ba23e1f8a52127b5a5b069d5237ca6d662ea.tar.xz |
Add a module selection option for the MapImage Module as well
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/WorldMap/MapImageModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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 | |||
134 | { | 134 | { |
135 | m_scene = scene; | 135 | m_scene = scene; |
136 | m_config = source; | 136 | m_config = source; |
137 | |||
138 | IConfig startupConfig = m_config.Configs["Startup"]; | ||
139 | if (startupConfig.GetString("MapImageModule", "MapImageModule") != | ||
140 | "MapImageModule") | ||
141 | return; | ||
142 | |||
137 | m_scene.RegisterModuleInterface<IMapImageGenerator>(this); | 143 | m_scene.RegisterModuleInterface<IMapImageGenerator>(this); |
138 | } | 144 | } |
139 | 145 | ||