Mantis 1456 same region teleport of a sitting avatar.
Region to region was fixed some time ago in EntityTransferModule. This applies the same fix for same region teleports.0.7.3-extended
parent
80030d3f15
commit
a896aac4bd
|
@ -1058,6 +1058,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
public void TeleportWithMomentum(Vector3 pos, Vector3? v)
|
public void TeleportWithMomentum(Vector3 pos, Vector3? v)
|
||||||
{
|
{
|
||||||
|
if (ParentID != (uint)0)
|
||||||
|
StandUp();
|
||||||
bool isFlying = Flying;
|
bool isFlying = Flying;
|
||||||
Vector3 vel = Velocity;
|
Vector3 vel = Velocity;
|
||||||
RemoveFromPhysicalScene();
|
RemoveFromPhysicalScene();
|
||||||
|
|
Loading…
Reference in New Issue