Stop removing actor from the hash maps in OdeScene.RemoveCharacter() since this is now being down in OdeCharacter.DestroyOdeStructures()
parent
476d893630
commit
754d6036ea
|
@ -1735,12 +1735,7 @@ 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,
|
||||||
|
|
Loading…
Reference in New Issue