this should fix mantis #443
parent
863195612b
commit
129d266867
|
@ -352,8 +352,11 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
private void RemoveFromPhysicalScene()
|
||||
{
|
||||
m_scene.PhysScene.RemoveAvatar( this.PhysicsActor );
|
||||
this.PhysicsActor = null;
|
||||
if (this.PhysicsActor)
|
||||
{
|
||||
m_scene.PhysScene.RemoveAvatar(this.PhysicsActor);
|
||||
this.PhysicsActor = null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue