This is a simple patch which just renames an IClientAPI method to

SendInventoryItemCreateUpdate() in order to reflect the actual packet it
sends (UpdateCreateInventoryItem).

From Justin Casey (IBM)
This commit is contained in:
Sean Dague
2007-12-03 17:24:27 +00:00
parent 690e517240
commit c29105aa3e
5 changed files with 15 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ namespace OpenSim.Region.Environment.Scenes
if (userInfo != null)
{
userInfo.AddItem(remoteClient.AgentId, item);
remoteClient.SendInventoryItemUpdate(item);
remoteClient.SendInventoryItemCreateUpdate(item);
}
}
@@ -89,7 +89,7 @@ namespace OpenSim.Region.Environment.Scenes
item.assetID = asset.FullID;
userInfo.UpdateItem(remoteClient.AgentId, item);
// remoteClient.SendInventoryItemUpdate(item);
// remoteClient.SendInventoryItemCreateUpdate(item);
if ((InventoryType) item.invType == InventoryType.Notecard)
{
//do we want to know about updated note cards?
@@ -229,7 +229,7 @@ namespace OpenSim.Region.Environment.Scenes
item.inventoryNextPermissions = nextOwnerMask;
userInfo.AddItem(remoteClient.AgentId, item);
remoteClient.SendInventoryItemUpdate(item);
remoteClient.SendInventoryItemCreateUpdate(item);
}
}
@@ -423,7 +423,7 @@ namespace OpenSim.Region.Environment.Scenes
item.inventoryNextPermissions = 2147483647;
userInfo.AddItem(remoteClient.AgentId, item);
remoteClient.SendInventoryItemUpdate(item);
remoteClient.SendInventoryItemCreateUpdate(item);
}
DeleteSceneObjectGroup((SceneObjectGroup) selectedEnt);