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.
0.7.4.1
Justin Clark-Casey (justincc) 2012-07-17 00:00:26 +01:00
parent c1667d39a6
commit b6476eaac3
1 changed files with 1 additions and 4 deletions

View File

@ -566,11 +566,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
item.InvType = (int)InventoryType.Object;
m_scene.InventoryService.UpdateItem(item);
// this gets called when the agent logs off!
if (sp.ControllingClient != null)
sp.ControllingClient.SendInventoryItemCreateUpdate(item, 0);
}
grp.HasGroupChanged = false; // Prevent it being saved over and over
}
// else