aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorMelanie2010-12-13 20:19:10 +0000
committerMelanie2010-12-13 20:19:10 +0000
commitd2ff4ebf2d4f30d6ea4a748565d28eacaad363fc (patch)
treef26dfcad312095f3e9d91739f78af08c11bc0f52 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentCorrect Sensor axis for unattached daughter prims. (diff)
parentChanged logging level for message about failure to retrieve a map image from ... (diff)
downloadopensim-SC_OLD-d2ff4ebf2d4f30d6ea4a748565d28eacaad363fc.zip
opensim-SC_OLD-d2ff4ebf2d4f30d6ea4a748565d28eacaad363fc.tar.gz
opensim-SC_OLD-d2ff4ebf2d4f30d6ea4a748565d28eacaad363fc.tar.bz2
opensim-SC_OLD-d2ff4ebf2d4f30d6ea4a748565d28eacaad363fc.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 961fe29..6ad6522 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1836,7 +1836,10 @@ namespace OpenSim.Region.Framework.Scenes
1836 part.TaskInventory.LockItemsForRead(false); 1836 part.TaskInventory.LockItemsForRead(false);
1837 // Reset sit target. 1837 // Reset sit target.
1838 if (part.GetAvatarOnSitTarget() == UUID) 1838 if (part.GetAvatarOnSitTarget() == UUID)
1839 part.SetAvatarOnSitTarget(UUID.Zero); 1839 part.SitTargetAvatar = UUID.Zero;
1840 if (part.ParentGroup != null)
1841 part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK);
1842
1840 m_parentPosition = part.GetWorldPosition(); 1843 m_parentPosition = part.GetWorldPosition();
1841 ControllingClient.SendClearFollowCamProperties(part.ParentUUID); 1844 ControllingClient.SendClearFollowCamProperties(part.ParentUUID);
1842 } 1845 }
@@ -1986,7 +1989,7 @@ namespace OpenSim.Region.Framework.Scenes
1986 if (!part.IsOccupied) 1989 if (!part.IsOccupied)
1987 { 1990 {
1988//Console.WriteLine("Scripted, unoccupied"); 1991//Console.WriteLine("Scripted, unoccupied");
1989 part.SetAvatarOnSitTarget(UUID); // set that Av will be on it 1992 part.SitTargetAvatar = UUID; // set that Av will be on it
1990 offset = new Vector3(avSitOffSet.X, avSitOffSet.Y, avSitOffSet.Z); // change ofset to the scripted one 1993 offset = new Vector3(avSitOffSet.X, avSitOffSet.Y, avSitOffSet.Z); // change ofset to the scripted one
1991 1994
1992 Quaternion nrot = avSitOrientation; 1995 Quaternion nrot = avSitOrientation;