mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user