diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 687a23c..2f19b50 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1398,9 +1398,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1398 | if (PhysicsActor != null) | 1398 | if (PhysicsActor != null) |
1399 | { | 1399 | { |
1400 | // PhysicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients; | 1400 | // PhysicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients; |
1401 | PhysicsActor.UnSubscribeEvents(); | ||
1401 | PhysicsActor.OnOutOfBounds -= OutOfBoundsCall; | 1402 | PhysicsActor.OnOutOfBounds -= OutOfBoundsCall; |
1402 | PhysicsActor.OnCollisionUpdate -= PhysicsCollisionUpdate; | 1403 | PhysicsActor.OnCollisionUpdate -= PhysicsCollisionUpdate; |
1403 | PhysicsActor.UnSubscribeEvents(); | ||
1404 | m_scene.PhysicsScene.RemoveAvatar(PhysicsActor); | 1404 | m_scene.PhysicsScene.RemoveAvatar(PhysicsActor); |
1405 | PhysicsActor = null; | 1405 | PhysicsActor = null; |
1406 | } | 1406 | } |