Browse files

Stop sending the viewer an inventory create message if a known attach…

…ment 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.
  • Loading branch information...
justincc committed Jul 16, 2012
1 parent c1667d3 commit b6476eaac35c37862ae74e6f6a070a80cf51c0c0
Showing with 1 addition and 4 deletions.
  1. +1 −4 OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -566,11 +566,8 @@ private void UpdateKnownItem(IScenePresence sp, SceneObjectGroup grp, bool saveA
item.InvType = (int)InventoryType.Object;
- // 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

0 comments on commit b6476ea

Please sign in to comment.