mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user