aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorMelanie2013-10-06 18:33:49 +0100
committerMelanie2013-10-06 18:33:49 +0100
commit9800c6fa6c95e124e16e3f759997f3d78c9ebd38 (patch)
tree4d88e53689e05d3e38d6b4a68d46e30c88de846f /OpenSim/Region/CoreModules/Avatar
parentMerge branch 'master' into careminster (diff)
parent* Fixes cases where Last Attachment Point gets overwritten with 0 when it sho... (diff)
downloadopensim-SC_OLD-9800c6fa6c95e124e16e3f759997f3d78c9ebd38.zip
opensim-SC_OLD-9800c6fa6c95e124e16e3f759997f3d78c9ebd38.tar.gz
opensim-SC_OLD-9800c6fa6c95e124e16e3f759997f3d78c9ebd38.tar.bz2
opensim-SC_OLD-9800c6fa6c95e124e16e3f759997f3d78c9ebd38.tar.xz
Merge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into careminster
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index 81a7278..051e959 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -685,6 +685,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
685 if (changed && m_scene.AvatarFactory != null) 685 if (changed && m_scene.AvatarFactory != null)
686 m_scene.AvatarFactory.QueueAppearanceSave(sp.UUID); 686 m_scene.AvatarFactory.QueueAppearanceSave(sp.UUID);
687 687
688 so.RootPart.Shape.LastAttachPoint = (byte)so.AttachmentPoint;
689
688 sp.RemoveAttachment(so); 690 sp.RemoveAttachment(so);
689 so.FromItemID = UUID.Zero; 691 so.FromItemID = UUID.Zero;
690 692
@@ -699,7 +701,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
699 so.ClearPartAttachmentData(); 701 so.ClearPartAttachmentData();
700 rootPart.ApplyPhysics(rootPart.GetEffectiveObjectFlags(), rootPart.VolumeDetectActive,false); 702 rootPart.ApplyPhysics(rootPart.GetEffectiveObjectFlags(), rootPart.VolumeDetectActive,false);
701 so.HasGroupChanged = true; 703 so.HasGroupChanged = true;
702 so.RootPart.Shape.LastAttachPoint = (byte)so.AttachmentPoint;
703 rootPart.Rezzed = DateTime.Now; 704 rootPart.Rezzed = DateTime.Now;
704 rootPart.RemFlag(PrimFlags.TemporaryOnRez); 705 rootPart.RemFlag(PrimFlags.TemporaryOnRez);
705 so.AttachToBackup(); 706 so.AttachToBackup();