From d3b081744ecb67dda7447e102e92739158a06d16 Mon Sep 17 00:00:00 2001
From: Melanie
Date: Sun, 12 Dec 2010 22:12:50 +0100
Subject: Prevent objects that are worn from ground from vanishing from the
 scene

---
 .../Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs   | 9 ---------
 1 file changed, 9 deletions(-)

(limited to 'OpenSim/Region')

diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index f924b30..25d4f21 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -606,15 +606,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
 
             if (!silent)
             {
-                // Killing it here will cause the client to deselect it
-                // It then reappears on the avatar, deselected
-                // through the full update below
-                //
-                if (so.IsSelected)
-                {
-                    m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId });
-                }
-
                 so.IsSelected = false; // fudge....
                 so.ScheduleGroupForFullUpdate();
             }
-- 
cgit v1.1