diff options
author | Diva Canto | 2011-02-05 19:40:55 -0800 |
---|---|---|
committer | Diva Canto | 2011-02-05 19:40:55 -0800 |
commit | 3411d4867d01d4cf87f09300f69d149c5269c611 (patch) | |
tree | ed102f076c539c4b8b52c5b5f61e1b6a68cddfcc /OpenSim | |
parent | Fixed Caps handlers leak (diff) | |
download | opensim-SC-3411d4867d01d4cf87f09300f69d149c5269c611.zip opensim-SC-3411d4867d01d4cf87f09300f69d149c5269c611.tar.gz opensim-SC-3411d4867d01d4cf87f09300f69d149c5269c611.tar.bz2 opensim-SC-3411d4867d01d4cf87f09300f69d149c5269c611.tar.xz |
Honor check of m_Enabled in WorldViewModule.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs | 3 |
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 | { |