diff options
Merge branch 'master' into careminster-presence-refactor
Also fix the failure to fire CHANGED_LINK on sit, which is different in our
code.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 6ad6522..d83ff51 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1837,8 +1837,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1837 | // Reset sit target. | 1837 | // Reset sit target. |
1838 | if (part.GetAvatarOnSitTarget() == UUID) | 1838 | if (part.GetAvatarOnSitTarget() == UUID) |
1839 | part.SitTargetAvatar = UUID.Zero; | 1839 | part.SitTargetAvatar = UUID.Zero; |
1840 | if (part.ParentGroup != null) | 1840 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); |
1841 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | ||
1842 | 1841 | ||
1843 | m_parentPosition = part.GetWorldPosition(); | 1842 | m_parentPosition = part.GetWorldPosition(); |
1844 | ControllingClient.SendClearFollowCamProperties(part.ParentUUID); | 1843 | ControllingClient.SendClearFollowCamProperties(part.ParentUUID); |
@@ -2033,6 +2032,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2033 | else return; // occupied small | 2032 | else return; // occupied small |
2034 | } // end large/small | 2033 | } // end large/small |
2035 | } // end Scripted/not | 2034 | } // end Scripted/not |
2035 | |||
2036 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | ||
2037 | |||
2036 | cameraAtOffset = part.GetCameraAtOffset(); | 2038 | cameraAtOffset = part.GetCameraAtOffset(); |
2037 | cameraEyeOffset = part.GetCameraEyeOffset(); | 2039 | cameraEyeOffset = part.GetCameraEyeOffset(); |
2038 | forceMouselook = part.GetForceMouselook(); | 2040 | forceMouselook = part.GetForceMouselook(); |