Make local teleports send CHANGED_TELEPORT

This commit is contained in:
Melanie Thielker
2010-06-12 07:34:22 +02:00
parent 57a60282f5
commit e337c9130f
2 changed files with 4 additions and 1 deletions

View File

@@ -180,6 +180,9 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
sp.ControllingClient.SendLocalTeleport(position, lookAt, teleportFlags);
sp.Teleport(position);
foreach (SceneObjectGroup grp in sp.Attachments)
sp.Scene.EventManager.TriggerOnScriptChangedEvent(grp.LocalId, (uint)Changed.TELEPORT);
}
else // Another region possibly in another simulator
{