diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 77581af..277384e 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -718,20 +718,20 @@ namespace OpenSim.Region.Framework.Scenes | |||
718 | 718 | ||
719 | // Tell the physics engines that this prim changed. | 719 | // Tell the physics engines that this prim changed. |
720 | m_parentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(actor); | 720 | m_parentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(actor); |
721 | } | 721 | } |
722 | 722 | ||
723 | if (!m_parentGroup.m_dupeInProgress) | 723 | if (!m_parentGroup.m_dupeInProgress) |
724 | { | 724 | { |
725 | List<ScenePresence> avs = ParentGroup.GetLinkedAvatars(); | 725 | List<ScenePresence> avs = ParentGroup.GetLinkedAvatars(); |
726 | foreach (ScenePresence av in avs) | 726 | foreach (ScenePresence av in avs) |
727 | { | 727 | { |
728 | if (av.LinkedPrim == m_uuid) | 728 | if (av.LinkedPrim == m_uuid) |
729 | { | 729 | { |
730 | Vector3 offset = (m_offsetPosition - oldpos); | 730 | Vector3 offset = (m_offsetPosition - oldpos); |
731 | av.OffsetPosition += offset; | 731 | av.OffsetPosition += offset; |
732 | av.SendFullUpdateToAllClients(); | 732 | av.SendFullUpdateToAllClients(); |
733 | } | 733 | } |
734 | } | 734 | } |
735 | } | 735 | } |
736 | } | 736 | } |
737 | TriggerScriptChangedEvent(Changed.POSITION); | 737 | TriggerScriptChangedEvent(Changed.POSITION); |