Stop removing actor from the hash maps in OdeScene.RemoveCharacter() since this is now being down in OdeCharacter.DestroyOdeStructures()

iar_mods
Justin Clark-Casey (justincc) 2011-11-22 22:37:06 +00:00
parent af90b52731
commit ace4324e75
1 changed files with 1 additions and 6 deletions

View File

@ -1734,13 +1734,8 @@ namespace OpenSim.Region.Physics.OdePlugin
} }
internal void RemoveCharacter(OdeCharacter chr) internal void RemoveCharacter(OdeCharacter chr)
{
if (_characters.Contains(chr))
{ {
_characters.Remove(chr); _characters.Remove(chr);
geom_name_map.Remove(chr.Shell);
actor_name_map.Remove(chr.Shell);
}
} }
private PhysicsActor AddPrim(String name, Vector3 position, Vector3 size, Quaternion rotation, private PhysicsActor AddPrim(String name, Vector3 position, Vector3 size, Quaternion rotation,