diff options
author | Melanie | 2011-12-09 22:55:08 +0000 |
---|---|---|
committer | Melanie | 2011-12-09 22:55:08 +0000 |
commit | 5f6a4c4111b996cc8cea20b5d39d902db4aa4dba (patch) | |
tree | a91059a30d7997c78ac267aeb33816bfd747c6c0 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | Restore the Avination way of position and angle calculation so resizers (diff) | |
parent | remove some unused fields in ScenePresence (diff) | |
download | opensim-SC-5f6a4c4111b996cc8cea20b5d39d902db4aa4dba.zip opensim-SC-5f6a4c4111b996cc8cea20b5d39d902db4aa4dba.tar.gz opensim-SC-5f6a4c4111b996cc8cea20b5d39d902db4aa4dba.tar.bz2 opensim-SC-5f6a4c4111b996cc8cea20b5d39d902db4aa4dba.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 245f258..83990b1 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -319,11 +319,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
319 | // Passing something to another avatar or a an object will already | 319 | // Passing something to another avatar or a an object will already |
320 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); | 320 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); |
321 | item = InventoryService.GetItem(item); | 321 | item = InventoryService.GetItem(item); |
322 | if (item.Owner != remoteClient.AgentId) | ||
323 | return; | ||
324 | 322 | ||
325 | if (item != null) | 323 | if (item != null) |
326 | { | 324 | { |
325 | if (item.Owner != remoteClient.AgentId) | ||
326 | return; | ||
327 | |||
327 | if (UUID.Zero == transactionID) | 328 | if (UUID.Zero == transactionID) |
328 | { | 329 | { |
329 | item.Flags = (item.Flags & ~(uint)255) | (itemUpd.Flags & (uint)255); | 330 | item.Flags = (item.Flags & ~(uint)255) | (itemUpd.Flags & (uint)255); |
@@ -371,8 +372,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
371 | } | 372 | } |
372 | else | 373 | else |
373 | { | 374 | { |
374 | m_log.Error( | 375 | m_log.ErrorFormat( |
375 | "[AGENTINVENTORY]: Item ID " + itemID + " not found for an inventory item update."); | 376 | "[AGENTINVENTORY]: Item id {0} not found for an inventory item update for {1}.", |
377 | itemID, remoteClient.Name); | ||
376 | } | 378 | } |
377 | } | 379 | } |
378 | 380 | ||