diff options
author | Melanie | 2010-12-12 22:12:50 +0100 |
---|---|---|
committer | Melanie | 2010-12-12 22:12:50 +0100 |
commit | d3b081744ecb67dda7447e102e92739158a06d16 (patch) | |
tree | d52ed0c1d424e06102e4ed3c5e059a006d82bf3a /OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |
parent | Fix a perms issue when wearing an object from inworld (diff) | |
download | opensim-SC-d3b081744ecb67dda7447e102e92739158a06d16.zip opensim-SC-d3b081744ecb67dda7447e102e92739158a06d16.tar.gz opensim-SC-d3b081744ecb67dda7447e102e92739158a06d16.tar.bz2 opensim-SC-d3b081744ecb67dda7447e102e92739158a06d16.tar.xz |
Prevent objects that are worn from ground from vanishing from the scene
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 9 |
1 files changed, 0 insertions, 9 deletions
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 | |||
606 | 606 | ||
607 | if (!silent) | 607 | if (!silent) |
608 | { | 608 | { |
609 | // Killing it here will cause the client to deselect it | ||
610 | // It then reappears on the avatar, deselected | ||
611 | // through the full update below | ||
612 | // | ||
613 | if (so.IsSelected) | ||
614 | { | ||
615 | m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId }); | ||
616 | } | ||
617 | |||
618 | so.IsSelected = false; // fudge.... | 609 | so.IsSelected = false; // fudge.... |
619 | so.ScheduleGroupForFullUpdate(); | 610 | so.ScheduleGroupForFullUpdate(); |
620 | } | 611 | } |