diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 69b5f43..4bebbe8 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -2230,6 +2230,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
2230 | sourcePart.Inventory.RemoveInventoryItem(item.ItemID); | 2230 | sourcePart.Inventory.RemoveInventoryItem(item.ItemID); |
2231 | } | 2231 | } |
2232 | 2232 | ||
2233 | |||
2234 | if (group.IsAttachment == false && group.RootPart.Shape.State != 0) | ||
2235 | { | ||
2236 | group.RootPart.AttachedPos = group.AbsolutePosition; | ||
2237 | group.RootPart.Shape.LastAttachPoint = (byte)group.AttachmentPoint; | ||
2238 | } | ||
2239 | |||
2233 | group.FromPartID = sourcePart.UUID; | 2240 | group.FromPartID = sourcePart.UUID; |
2234 | AddNewSceneObject(group, true, pos, rot, vel); | 2241 | AddNewSceneObject(group, true, pos, rot, vel); |
2235 | 2242 | ||