aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index d6ad07e..c74584c 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -859,6 +859,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
859 859
860 InventoryItemBase item = new InventoryItemBase(itemID, sp.UUID); 860 InventoryItemBase item = new InventoryItemBase(itemID, sp.UUID);
861 item = m_scene.InventoryService.GetItem(item); 861 item = m_scene.InventoryService.GetItem(item);
862 if (item == null)
863 return;
864
862 bool changed = sp.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID); 865 bool changed = sp.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID);
863 if (changed && m_scene.AvatarFactory != null) 866 if (changed && m_scene.AvatarFactory != null)
864 { 867 {