diff options
author | Melanie | 2010-12-14 12:12:27 +0000 |
---|---|---|
committer | Melanie | 2010-12-14 12:12:27 +0000 |
commit | cb51fc129ec2fdeff9ad98589c40b65377fdbc30 (patch) | |
tree | 33cdfecffa1f611237448b66b91cb92934a16b38 /OpenSim/Region | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
parent | Null checking ParentGroup is not needed. It can't be null. (diff) | |
download | opensim-SC-cb51fc129ec2fdeff9ad98589c40b65377fdbc30.zip opensim-SC-cb51fc129ec2fdeff9ad98589c40b65377fdbc30.tar.gz opensim-SC-cb51fc129ec2fdeff9ad98589c40b65377fdbc30.tar.bz2 opensim-SC-cb51fc129ec2fdeff9ad98589c40b65377fdbc30.tar.xz |
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')
-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(); |