diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index f6df3c3..89e511f 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1864,8 +1864,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1864 | if (part.SitTargetAvatar == UUID) | 1864 | if (part.SitTargetAvatar == UUID) |
1865 | part.SitTargetAvatar = UUID.Zero; | 1865 | part.SitTargetAvatar = UUID.Zero; |
1866 | 1866 | ||
1867 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | ||
1868 | |||
1869 | ParentPosition = part.GetWorldPosition(); | 1867 | ParentPosition = part.GetWorldPosition(); |
1870 | ControllingClient.SendClearFollowCamProperties(part.ParentUUID); | 1868 | ControllingClient.SendClearFollowCamProperties(part.ParentUUID); |
1871 | } | 1869 | } |
@@ -1881,6 +1879,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1881 | ParentID = 0; | 1879 | ParentID = 0; |
1882 | SendAvatarDataToAllAgents(); | 1880 | SendAvatarDataToAllAgents(); |
1883 | m_requestedSitTargetID = 0; | 1881 | m_requestedSitTargetID = 0; |
1882 | |||
1883 | if (part != null) | ||
1884 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | ||
1884 | } | 1885 | } |
1885 | 1886 | ||
1886 | Animator.TrySetMovementAnimation("STAND"); | 1887 | Animator.TrySetMovementAnimation("STAND"); |