aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
diff options
context:
space:
mode:
authorDiva Canto2011-05-04 20:40:25 -0700
committerDiva Canto2011-05-04 20:40:25 -0700
commite8944d6c3163d25d7f6a8f278546b42db62b6b30 (patch)
treec150374724bb70f05b7710aacab5860c5afd2f97 /OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
parentMerge branch 'master' into caps (diff)
downloadopensim-SC-e8944d6c3163d25d7f6a8f278546b42db62b6b30.zip
opensim-SC-e8944d6c3163d25d7f6a8f278546b42db62b6b30.tar.gz
opensim-SC-e8944d6c3163d25d7f6a8f278546b42db62b6b30.tar.bz2
opensim-SC-e8944d6c3163d25d7f6a8f278546b42db62b6b30.tar.xz
Test m_Enabled on RemoveRegion.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
index f2f765c..e0807ee 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
@@ -87,6 +87,9 @@ namespace OpenSim.Region.ClientStack.Linden
87 87
88 public void RemoveRegion(Scene scene) 88 public void RemoveRegion(Scene scene)
89 { 89 {
90 if (!m_Enabled)
91 return;
92
90 m_scene.EventManager.OnRegisterCaps -= RegisterCaps; 93 m_scene.EventManager.OnRegisterCaps -= RegisterCaps;
91 m_scene = null; 94 m_scene = null;
92 } 95 }