diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/TaskInventoryItem.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index df5b936..883f61a 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs | |||
@@ -120,7 +120,7 @@ namespace OpenSim.Framework | |||
120 | private UUID _permsGranter; | 120 | private UUID _permsGranter; |
121 | private int _permsMask; | 121 | private int _permsMask; |
122 | private int _type = 0; | 122 | private int _type = 0; |
123 | private UUID _oldID; | 123 | private UUID _oldID = UUID.Zero; |
124 | 124 | ||
125 | private bool _ownerChanged = false; | 125 | private bool _ownerChanged = false; |
126 | 126 | ||
@@ -227,9 +227,6 @@ namespace OpenSim.Framework | |||
227 | get { | 227 | get { |
228 | return _oldID; | 228 | return _oldID; |
229 | } | 229 | } |
230 | set { | ||
231 | _oldID = value; | ||
232 | } | ||
233 | } | 230 | } |
234 | 231 | ||
235 | public UUID LastOwnerID { | 232 | public UUID LastOwnerID { |
@@ -348,7 +345,8 @@ namespace OpenSim.Framework | |||
348 | /// <param name="partID">The new part ID to which this item belongs</param> | 345 | /// <param name="partID">The new part ID to which this item belongs</param> |
349 | public void ResetIDs(UUID partID) | 346 | public void ResetIDs(UUID partID) |
350 | { | 347 | { |
351 | OldItemID = ItemID; | 348 | if (_oldID == UUID.Zero) |
349 | _oldID = ItemID; | ||
352 | ItemID = UUID.Random(); | 350 | ItemID = UUID.Random(); |
353 | ParentPartID = partID; | 351 | ParentPartID = partID; |
354 | ParentID = partID; | 352 | ParentID = partID; |