Add a module selection option for the MapImage Module as well

0.6.0-stable
Melanie Thielker 2008-09-24 22:24:10 +00:00
parent 1d7095fbce
commit 9131ba23e1
2 changed files with 7 additions and 0 deletions

View File

@ -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<IMapImageGenerator>(this);
}

View File

@ -115,6 +115,7 @@ DefaultScriptEngine = "DotNetEngine"
; ##
;WorldMapModule = "WorldMap"
;MapImageModule = "MapImageModule"
[StandAlone]
accounts_authenticate = true