diff options
author | Justin Clark-Casey (justincc) | 2011-09-13 22:39:06 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-13 22:39:06 +0100 |
commit | 1084d8f6a2bcf63c594e1a8bd180c42f51b05e2f (patch) | |
tree | 610f52ca62a3b587d6bbb1ad443d41d5423a524d /OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |
parent | remove redunant itemID and agentID arguments from UpdateKnownItem(). (diff) | |
download | opensim-SC-1084d8f6a2bcf63c594e1a8bd180c42f51b05e2f.zip opensim-SC-1084d8f6a2bcf63c594e1a8bd180c42f51b05e2f.tar.gz opensim-SC-1084d8f6a2bcf63c594e1a8bd180c42f51b05e2f.tar.bz2 opensim-SC-1084d8f6a2bcf63c594e1a8bd180c42f51b05e2f.tar.xz |
Remove code from DetachSingleAttachmentToInv() that sets group changed on all parts, now that we're performing this check in UpdateKnownItem() for other purposes
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs')
-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; |