diff options
author | Justin Clark-Casey (justincc) | 2012-07-17 00:00:26 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-17 00:00:26 +0100 |
commit | b6476eaac35c37862ae74e6f6a070a80cf51c0c0 (patch) | |
tree | 891f9bb982e35d46da5e5a681b7f0bfe7460affe /OpenSim/Region | |
parent | refactor: factor out common code in WebStatsModule.OnMakeRootAgent() (diff) | |
download | opensim-SC-b6476eaac35c37862ae74e6f6a070a80cf51c0c0.zip opensim-SC-b6476eaac35c37862ae74e6f6a070a80cf51c0c0.tar.gz opensim-SC-b6476eaac35c37862ae74e6f6a070a80cf51c0c0.tar.bz2 opensim-SC-b6476eaac35c37862ae74e6f6a070a80cf51c0c0.tar.xz |
Stop sending the viewer an inventory create message if a known attachment item is updated.
This doesn't seem to make any sense and probably stems from a period when this code was directly involved in attaching objects directly from the scene.
This message is already being sent by InventoryAccessModule code instead.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 64ee7e4..fff47e2 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -566,11 +566,8 @@ 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 | // this gets called when the agent logs off! | ||
571 | if (sp.ControllingClient != null) | ||
572 | sp.ControllingClient.SendInventoryItemCreateUpdate(item, 0); | ||
573 | } | 569 | } |
570 | |||
574 | grp.HasGroupChanged = false; // Prevent it being saved over and over | 571 | grp.HasGroupChanged = false; // Prevent it being saved over and over |
575 | } | 572 | } |
576 | // else | 573 | // else |