diff options
Diffstat (limited to 'OpenSim/Framework/TaskInventoryItem.cs')
-rw-r--r-- | OpenSim/Framework/TaskInventoryItem.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index 43d28e7..66da564 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs | |||
@@ -120,6 +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 | 124 | ||
124 | public UUID AssetID { | 125 | public UUID AssetID { |
125 | get { | 126 | get { |
@@ -220,6 +221,15 @@ namespace OpenSim.Framework | |||
220 | } | 221 | } |
221 | } | 222 | } |
222 | 223 | ||
224 | public UUID OldItemID { | ||
225 | get { | ||
226 | return _oldID; | ||
227 | } | ||
228 | set { | ||
229 | _oldID = value; | ||
230 | } | ||
231 | } | ||
232 | |||
223 | public UUID LastOwnerID { | 233 | public UUID LastOwnerID { |
224 | get { | 234 | get { |
225 | return _lastOwnerID; | 235 | return _lastOwnerID; |
@@ -327,6 +337,7 @@ namespace OpenSim.Framework | |||
327 | /// <param name="partID">The new part ID to which this item belongs</param> | 337 | /// <param name="partID">The new part ID to which this item belongs</param> |
328 | public void ResetIDs(UUID partID) | 338 | public void ResetIDs(UUID partID) |
329 | { | 339 | { |
340 | _oldID = _itemID; | ||
330 | _itemID = UUID.Random(); | 341 | _itemID = UUID.Random(); |
331 | _parentPartID = partID; | 342 | _parentPartID = partID; |
332 | _parentID = partID; | 343 | _parentID = partID; |