mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
this should fix mantis #443
This commit is contained in:
@@ -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>
|
||||
@@ -919,4 +922,4 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
RemoveFromPhysicalScene();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user