let osteleportobject work with phantom prims (still not kfm ones)(at least until i remember why not..)

This commit is contained in:
UbitUmarov
2021-02-01 21:07:44 +00:00
parent 2266483ce7
commit caddb8ac97

View File

@@ -1060,7 +1060,7 @@ namespace OpenSim.Region.Framework.Scenes
inTransit = true;
PhysicsActor pa = RootPart.PhysActor;
if(pa == null || RootPart.KeyframeMotion != null /*|| m_sittingAvatars.Count == 0*/)
if(/*pa == null ||*/ RootPart.KeyframeMotion != null /*|| m_sittingAvatars.Count == 0*/)
{
inTransit = false;
return -1;