aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 789bd68..608efc3 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -386,6 +386,7 @@ namespace OpenSim.Region.Environment.Scenes
386 if (PhysicsActor != null) 386 if (PhysicsActor != null)
387 { 387 {
388 m_scene.PhysScene.RemoveAvatar(PhysicsActor); 388 m_scene.PhysScene.RemoveAvatar(PhysicsActor);
389 m_physicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients;
389 PhysicsActor = null; 390 PhysicsActor = null;
390 } 391 }
391 } 392 }
@@ -1092,6 +1093,7 @@ namespace OpenSim.Region.Environment.Scenes
1092 AbsolutePosition.Z); 1093 AbsolutePosition.Z);
1093 1094
1094 m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec); 1095 m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec);
1096 m_physicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients;
1095 } 1097 }
1096 1098
1097 internal void Close() 1099 internal void Close()