Make local teleports send CHANGED_TELEPORT

soprefactor
Melanie Thielker 2010-06-12 07:34:22 +02:00 committed by Melanie
parent 65f03af38f
commit 4c58ac2c90
1 changed files with 3 additions and 0 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
{