diff options
Diffstat (limited to 'OpenSim/Framework/TaskInventoryItem.cs')
-rw-r--r-- | OpenSim/Framework/TaskInventoryItem.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index 30d775c..248502e 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs | |||
@@ -121,7 +121,7 @@ namespace OpenSim.Framework | |||
121 | private UUID _permsGranter; | 121 | private UUID _permsGranter; |
122 | private int _permsMask; | 122 | private int _permsMask; |
123 | private int _type = 0; | 123 | private int _type = 0; |
124 | private UUID _oldID; | 124 | private UUID _oldID = UUID.Zero; |
125 | 125 | ||
126 | private bool _ownerChanged = false; | 126 | private bool _ownerChanged = false; |
127 | 127 | ||
@@ -404,7 +404,8 @@ namespace OpenSim.Framework | |||
404 | /// <param name="partID">The new part ID to which this item belongs</param> | 404 | /// <param name="partID">The new part ID to which this item belongs</param> |
405 | public void ResetIDs(UUID partID) | 405 | public void ResetIDs(UUID partID) |
406 | { | 406 | { |
407 | OldItemID = ItemID; | 407 | if (_oldID == UUID.Zero) |
408 | _oldID = ItemID; | ||
408 | ItemID = UUID.Random(); | 409 | ItemID = UUID.Random(); |
409 | ParentPartID = partID; | 410 | ParentPartID = partID; |
410 | ParentID = partID; | 411 | ParentID = partID; |