diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 64ee7e4..d34a8f6 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -567,10 +567,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
567 | 567 | ||
568 | m_scene.InventoryService.UpdateItem(item); | 568 | m_scene.InventoryService.UpdateItem(item); |
569 | 569 | ||
570 | // this gets called when the agent logs off! | 570 | // If the name of the object has been changed whilst attached then we want to update the inventory |
571 | // item in the viewer. | ||
571 | if (sp.ControllingClient != null) | 572 | if (sp.ControllingClient != null) |
572 | sp.ControllingClient.SendInventoryItemCreateUpdate(item, 0); | 573 | sp.ControllingClient.SendInventoryItemCreateUpdate(item, 0); |
573 | } | 574 | } |
575 | |||
574 | grp.HasGroupChanged = false; // Prevent it being saved over and over | 576 | grp.HasGroupChanged = false; // Prevent it being saved over and over |
575 | } | 577 | } |
576 | // else | 578 | // else |