diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 1992956..3e0241c 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -803,6 +803,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
803 | string xmlData = Utils.BytesToString(rezAsset.Data); | 803 | string xmlData = Utils.BytesToString(rezAsset.Data); |
804 | SceneObjectGroup group = SceneObjectSerializer.FromOriginalXmlFormat(xmlData); | 804 | SceneObjectGroup group = SceneObjectSerializer.FromOriginalXmlFormat(xmlData); |
805 | 805 | ||
806 | group.RootPart.AttachPoint = group.RootPart.Shape.State; | ||
807 | group.RootPart.AttachOffset = group.AbsolutePosition; | ||
808 | |||
806 | group.ResetIDs(); | 809 | group.ResetIDs(); |
807 | 810 | ||
808 | SceneObjectPart rootPart = group.GetChildPart(group.UUID); | 811 | SceneObjectPart rootPart = group.GetChildPart(group.UUID); |