aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs3
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs1
3 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index f81cfe2..76804d7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -3700,7 +3700,7 @@ namespace OpenSim.Region.Framework.Scenes
3700 } 3700 }
3701 if ((change & ObjectChangeType.Position) != 0) 3701 if ((change & ObjectChangeType.Position) != 0)
3702 { 3702 {
3703 group.AbsolutePosition = data.position; 3703 UpdateGroupPosition(data.position);
3704 updateType = updatetype.groupterse; 3704 updateType = updatetype.groupterse;
3705 } 3705 }
3706 else 3706 else
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index b198ca7..b0bc188 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -197,6 +197,9 @@ namespace OpenSim.Region.Framework.Scenes
197 public Vector3 AttachOffset = Vector3.Zero; 197 public Vector3 AttachOffset = Vector3.Zero;
198 198
199 [XmlIgnore] 199 [XmlIgnore]
200 public Quaternion AttachRotation = Quaternion.Identity;
201
202 [XmlIgnore]
200 public int STATUS_ROTATE_X; 203 public int STATUS_ROTATE_X;
201 204
202 public int STATUS_ROTATE_Y; 205 public int STATUS_ROTATE_Y;
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index a2649ee..959046a 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -812,6 +812,7 @@ namespace OpenSim.Region.Framework.Scenes
812 812
813 group.RootPart.AttachPoint = group.RootPart.Shape.State; 813 group.RootPart.AttachPoint = group.RootPart.Shape.State;
814 group.RootPart.AttachOffset = group.AbsolutePosition; 814 group.RootPart.AttachOffset = group.AbsolutePosition;
815 group.RootPart.AttachRotation = group.GroupRotation;
815 816
816 group.ResetIDs(); 817 group.ResetIDs();
817 818