diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index b9cd880..b965d75 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -653,17 +653,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
653 | 653 | ||
654 | // Prepare sog for storage | 654 | // Prepare sog for storage |
655 | group.AttachedAvatar = UUID.Zero; | 655 | group.AttachedAvatar = UUID.Zero; |
656 | |||
657 | group.ForEachPart( | ||
658 | delegate(SceneObjectPart part) | ||
659 | { | ||
660 | // If there are any scripts, | ||
661 | // then always trigger a new object and state persistence in UpdateKnownItem() | ||
662 | if (part.Inventory.ContainsScripts()) | ||
663 | group.HasGroupChanged = true; | ||
664 | } | ||
665 | ); | ||
666 | |||
667 | group.RootPart.SetParentLocalId(0); | 656 | group.RootPart.SetParentLocalId(0); |
668 | group.IsAttachment = false; | 657 | group.IsAttachment = false; |
669 | group.AbsolutePosition = group.RootPart.AttachedPos; | 658 | group.AbsolutePosition = group.RootPart.AttachedPos; |