this should fix mantis #443

afrisby
dan miller 2007-09-27 23:06:24 +00:00
parent 863195612b
commit 129d266867
1 changed files with 6 additions and 3 deletions

View File

@ -351,10 +351,13 @@ namespace OpenSim.Region.Environment.Scenes
} }
private void RemoveFromPhysicalScene() private void RemoveFromPhysicalScene()
{
if (this.PhysicsActor)
{ {
m_scene.PhysScene.RemoveAvatar(this.PhysicsActor); m_scene.PhysScene.RemoveAvatar(this.PhysicsActor);
this.PhysicsActor = null; this.PhysicsActor = null;
} }
}
/// <summary> /// <summary>
/// ///