aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 43b8746..ad6679e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1065,9 +1065,9 @@ namespace OpenSim.Region.Framework.Scenes
1065 { 1065 {
1066// PhysicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients; 1066// PhysicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients;
1067 PhysicsActor.OnOutOfBounds -= OutOfBoundsCall; 1067 PhysicsActor.OnOutOfBounds -= OutOfBoundsCall;
1068 m_scene.PhysicsScene.RemoveAvatar(PhysicsActor);
1069 PhysicsActor.UnSubscribeEvents();
1070 PhysicsActor.OnCollisionUpdate -= PhysicsCollisionUpdate; 1068 PhysicsActor.OnCollisionUpdate -= PhysicsCollisionUpdate;
1069 PhysicsActor.UnSubscribeEvents();
1070 m_scene.PhysicsScene.RemoveAvatar(PhysicsActor);
1071 PhysicsActor = null; 1071 PhysicsActor = null;
1072 } 1072 }
1073// else 1073// else