aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2011-02-05 19:40:55 -0800
committerDiva Canto2011-02-05 19:40:55 -0800
commit3411d4867d01d4cf87f09300f69d149c5269c611 (patch)
treeed102f076c539c4b8b52c5b5f61e1b6a68cddfcc /OpenSim
parentFixed Caps handlers leak (diff)
downloadopensim-SC_OLD-3411d4867d01d4cf87f09300f69d149c5269c611.zip
opensim-SC_OLD-3411d4867d01d4cf87f09300f69d149c5269c611.tar.gz
opensim-SC_OLD-3411d4867d01d4cf87f09300f69d149c5269c611.tar.bz2
opensim-SC_OLD-3411d4867d01d4cf87f09300f69d149c5269c611.tar.xz
Honor check of m_Enabled in WorldViewModule.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs
index d4b7020..cee8851 100644
--- a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs
+++ b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs
@@ -71,6 +71,9 @@ namespace OpenSim.Region.OptionalModules.World.WorldView
71 71
72 public void RegionLoaded(Scene scene) 72 public void RegionLoaded(Scene scene)
73 { 73 {
74 if (!m_Enabled)
75 return;
76
74 m_Generator = scene.RequestModuleInterface<IMapImageGenerator>(); 77 m_Generator = scene.RequestModuleInterface<IMapImageGenerator>();
75 if (m_Generator == null) 78 if (m_Generator == null)
76 { 79 {