aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index fff47e2..d34a8f6 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -566,8 +566,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
566 item.InvType = (int)InventoryType.Object; 566 item.InvType = (int)InventoryType.Object;
567 567
568 m_scene.InventoryService.UpdateItem(item); 568 m_scene.InventoryService.UpdateItem(item);
569
570 // If the name of the object has been changed whilst attached then we want to update the inventory
571 // item in the viewer.
572 if (sp.ControllingClient != null)
573 sp.ControllingClient.SendInventoryItemCreateUpdate(item, 0);
569 } 574 }
570 575
571 grp.HasGroupChanged = false; // Prevent it being saved over and over 576 grp.HasGroupChanged = false; // Prevent it being saved over and over
572 } 577 }
573// else 578// else