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