diff options
author | Sean Dague | 2007-12-03 17:24:27 +0000 |
---|---|---|
committer | Sean Dague | 2007-12-03 17:24:27 +0000 |
commit | c29105aa3ee52e158b4c7870409165a89be4bcf6 (patch) | |
tree | c4bdf2497100bc9fb8a59635a6c0e3109d516161 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | Added a flag to load-xml console command, that will generate new uuids for th... (diff) | |
download | opensim-SC_OLD-c29105aa3ee52e158b4c7870409165a89be4bcf6.zip opensim-SC_OLD-c29105aa3ee52e158b4c7870409165a89be4bcf6.tar.gz opensim-SC_OLD-c29105aa3ee52e158b4c7870409165a89be4bcf6.tar.bz2 opensim-SC_OLD-c29105aa3ee52e158b4c7870409165a89be4bcf6.tar.xz |
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)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 6370bcb..1ea8d5a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -57,7 +57,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
57 | if (userInfo != null) | 57 | if (userInfo != null) |
58 | { | 58 | { |
59 | userInfo.AddItem(remoteClient.AgentId, item); | 59 | userInfo.AddItem(remoteClient.AgentId, item); |
60 | remoteClient.SendInventoryItemUpdate(item); | 60 | remoteClient.SendInventoryItemCreateUpdate(item); |
61 | } | 61 | } |
62 | } | 62 | } |
63 | 63 | ||
@@ -89,7 +89,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
89 | item.assetID = asset.FullID; | 89 | item.assetID = asset.FullID; |
90 | userInfo.UpdateItem(remoteClient.AgentId, item); | 90 | userInfo.UpdateItem(remoteClient.AgentId, item); |
91 | 91 | ||
92 | // remoteClient.SendInventoryItemUpdate(item); | 92 | // remoteClient.SendInventoryItemCreateUpdate(item); |
93 | if ((InventoryType) item.invType == InventoryType.Notecard) | 93 | if ((InventoryType) item.invType == InventoryType.Notecard) |
94 | { | 94 | { |
95 | //do we want to know about updated note cards? | 95 | //do we want to know about updated note cards? |
@@ -229,7 +229,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
229 | item.inventoryNextPermissions = nextOwnerMask; | 229 | item.inventoryNextPermissions = nextOwnerMask; |
230 | 230 | ||
231 | userInfo.AddItem(remoteClient.AgentId, item); | 231 | userInfo.AddItem(remoteClient.AgentId, item); |
232 | remoteClient.SendInventoryItemUpdate(item); | 232 | remoteClient.SendInventoryItemCreateUpdate(item); |
233 | } | 233 | } |
234 | } | 234 | } |
235 | 235 | ||
@@ -423,7 +423,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
423 | item.inventoryNextPermissions = 2147483647; | 423 | item.inventoryNextPermissions = 2147483647; |
424 | 424 | ||
425 | userInfo.AddItem(remoteClient.AgentId, item); | 425 | userInfo.AddItem(remoteClient.AgentId, item); |
426 | remoteClient.SendInventoryItemUpdate(item); | 426 | remoteClient.SendInventoryItemCreateUpdate(item); |
427 | } | 427 | } |
428 | 428 | ||
429 | DeleteSceneObjectGroup((SceneObjectGroup) selectedEnt); | 429 | DeleteSceneObjectGroup((SceneObjectGroup) selectedEnt); |