Honor check of m_Enabled in WorldViewModule.

0.7.1-dev
Diva Canto 2011-02-05 19:40:55 -08:00
parent cc81d924ca
commit 3411d4867d
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ namespace OpenSim.Region.OptionalModules.World.WorldView
public void RegionLoaded(Scene scene) public void RegionLoaded(Scene scene)
{ {
if (!m_Enabled)
return;
m_Generator = scene.RequestModuleInterface<IMapImageGenerator>(); m_Generator = scene.RequestModuleInterface<IMapImageGenerator>();
if (m_Generator == null) if (m_Generator == null)
{ {