Make landing points work on local teleports. Constrain owners and gods to

landing points when coming from off sim (matches agni) to prevent landing
in floors or other prims.
This commit is contained in:
Melanie
2011-01-27 06:45:53 +01:00
parent eca82d90c2
commit 1143e022b4
2 changed files with 27 additions and 5 deletions

View File

@@ -177,6 +177,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
sp.ControllingClient.SendTeleportStart(teleportFlags);
sp.ControllingClient.SendLocalTeleport(position, lookAt, teleportFlags);
sp.TeleportFlags = (TeleportFlags)teleportFlags;
sp.Teleport(position);
foreach (SceneObjectGroup grp in sp.Attachments)