diff options
author | UbitUmarov | 2019-02-21 21:54:24 +0000 |
---|---|---|
committer | UbitUmarov | 2019-02-21 21:54:24 +0000 |
commit | 17ea412da1a38f8e09d95c5604694c595f111473 (patch) | |
tree | 7d421f4b02e50347e80635e30276da635a5a7cac /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |
parent | Yengine:save minEventDelay in script state (diff) | |
download | opensim-SC-17ea412da1a38f8e09d95c5604694c595f111473.zip opensim-SC-17ea412da1a38f8e09d95c5604694c595f111473.tar.gz opensim-SC-17ea412da1a38f8e09d95c5604694c595f111473.tar.bz2 opensim-SC-17ea412da1a38f8e09d95c5604694c595f111473.tar.xz |
fix last owner on add to object inventory
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 4934b83..bc9ab7f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -815,10 +815,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
815 | m_items.LockItemsForWrite(true); | 815 | m_items.LockItemsForWrite(true); |
816 | m_items.Add(item.ItemID, item); | 816 | m_items.Add(item.ItemID, item); |
817 | m_items.LockItemsForWrite(false); | 817 | m_items.LockItemsForWrite(false); |
818 | if (allowedDrop) | 818 | if (allowedDrop) |
819 | m_part.TriggerScriptChangedEvent(Changed.ALLOWED_DROP); | 819 | m_part.TriggerScriptChangedEvent(Changed.ALLOWED_DROP); |
820 | else | 820 | else |
821 | m_part.TriggerScriptChangedEvent(Changed.INVENTORY); | 821 | m_part.TriggerScriptChangedEvent(Changed.INVENTORY); |
822 | 822 | ||
823 | m_part.AggregateInnerPerms(); | 823 | m_part.AggregateInnerPerms(); |
824 | m_inventorySerial++; | 824 | m_inventorySerial++; |