In ScenePresence, when removing from the physical scene, unsubscribe
from collisions before removing the collision callbacks. Should not make operational differences.0.8.2-post-fixes
parent
722d00903b
commit
11209c72f5
|
@ -1398,9 +1398,9 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
if (PhysicsActor != null)
|
||||
{
|
||||
// PhysicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients;
|
||||
PhysicsActor.UnSubscribeEvents();
|
||||
PhysicsActor.OnOutOfBounds -= OutOfBoundsCall;
|
||||
PhysicsActor.OnCollisionUpdate -= PhysicsCollisionUpdate;
|
||||
PhysicsActor.UnSubscribeEvents();
|
||||
m_scene.PhysicsScene.RemoveAvatar(PhysicsActor);
|
||||
PhysicsActor = null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue