aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2012-08-03 20:13:51 +0100
committerUbitUmarov2012-08-03 20:13:51 +0100
commitb95caaa453c3a6b5c27725b308061376f8d7e816 (patch)
treea6039f27e3b18188ec32b160f0853f24d0fb461a /OpenSim/Region/Framework/Scenes
parentRemove a merge artefaci in IsActive handling and restore commented out correc... (diff)
downloadopensim-SC_OLD-b95caaa453c3a6b5c27725b308061376f8d7e816.zip
opensim-SC_OLD-b95caaa453c3a6b5c27725b308061376f8d7e816.tar.gz
opensim-SC_OLD-b95caaa453c3a6b5c27725b308061376f8d7e816.tar.bz2
opensim-SC_OLD-b95caaa453c3a6b5c27725b308061376f8d7e816.tar.xz
on presence close(), release animator and OnRegionHeartbeatEnd event
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 4d3ab51..47b2ead 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3585,6 +3585,13 @@ namespace OpenSim.Region.Framework.Scenes
3585 // m_reprioritizationTimer.Dispose(); 3585 // m_reprioritizationTimer.Dispose();
3586 3586
3587 RemoveFromPhysicalScene(); 3587 RemoveFromPhysicalScene();
3588
3589 m_scene.EventManager.OnRegionHeartbeatEnd -= RegionHeartbeatEnd;
3590
3591// if (Animator != null)
3592// Animator.Close();
3593 Animator = null;
3594
3588 } 3595 }
3589 3596
3590 public void AddAttachment(SceneObjectGroup gobj) 3597 public void AddAttachment(SceneObjectGroup gobj)