aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index b74c0ba..a2b95eb 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -408,17 +408,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
408 if (!Enabled) 408 if (!Enabled)
409 return; 409 return;
410 410
411 // First we save the
412 // attachment point information, then we update the relative
413 // positioning. Then we have to mark the object as NOT an
414 // attachment. This is necessary in order to correctly save
415 // and retrieve GroupPosition information for the attachment.
416 // Finally, we restore the object's attachment status.
417 uint attachmentPoint = sog.AttachmentPoint;
418 sog.UpdateGroupPosition(pos); 411 sog.UpdateGroupPosition(pos);
419 sog.IsAttachment = false;
420 sog.AbsolutePosition = sog.RootPart.AttachedPos;
421 sog.AttachmentPoint = attachmentPoint;
422 sog.HasGroupChanged = true; 412 sog.HasGroupChanged = true;
423 } 413 }
424 414