mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Add a module selection option for the MapImage Module as well
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user