on recover form nom finite avatar pos, don't add it physics it it had none
parent
a5e3aab575
commit
c7fdb2ec53
|
@ -2456,6 +2456,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
// This is irritating. Really.
|
||||
if (!AbsolutePosition.IsFinite())
|
||||
{
|
||||
bool isphysical = PhysicsActor != null;
|
||||
if(isphysical)
|
||||
RemoveFromPhysicalScene();
|
||||
m_log.Error("[AVATAR]: NonFinite Avatar position detected... Reset Position. Mantis this please. Error #9999902");
|
||||
|
||||
|
@ -2468,6 +2470,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
m_log.Error("[AVATAR]: NonFinite Avatar position detected... Reset Position. Mantis this please. Error #9999903");
|
||||
}
|
||||
|
||||
if(isphysical)
|
||||
AddToPhysicalScene(false);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue