diff options
author | UbitUmarov | 2012-08-03 20:13:51 +0100 |
---|---|---|
committer | UbitUmarov | 2012-08-03 20:13:51 +0100 |
commit | b95caaa453c3a6b5c27725b308061376f8d7e816 (patch) | |
tree | a6039f27e3b18188ec32b160f0853f24d0fb461a /OpenSim | |
parent | Remove a merge artefaci in IsActive handling and restore commented out correc... (diff) | |
download | opensim-SC-b95caaa453c3a6b5c27725b308061376f8d7e816.zip opensim-SC-b95caaa453c3a6b5c27725b308061376f8d7e816.tar.gz opensim-SC-b95caaa453c3a6b5c27725b308061376f8d7e816.tar.bz2 opensim-SC-b95caaa453c3a6b5c27725b308061376f8d7e816.tar.xz |
on presence close(), release animator and OnRegionHeartbeatEnd event
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 |
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) |