aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/TaskInventoryItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/TaskInventoryItem.cs')
-rw-r--r--OpenSim/Framework/TaskInventoryItem.cs14
1 files changed, 12 insertions, 2 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs
index fa514f0..5d8b8be 100644
--- a/OpenSim/Framework/TaskInventoryItem.cs
+++ b/OpenSim/Framework/TaskInventoryItem.cs
@@ -65,6 +65,7 @@ namespace OpenSim.Framework
65 private int _permsMask; 65 private int _permsMask;
66 private int _type = 0; 66 private int _type = 0;
67 private UUID _oldID = UUID.Zero; 67 private UUID _oldID = UUID.Zero;
68 private UUID _loadedID = UUID.Zero;
68 69
69 private bool _ownerChanged = false; 70 private bool _ownerChanged = false;
70 71
@@ -234,6 +235,15 @@ namespace OpenSim.Framework
234 } 235 }
235 } 236 }
236 237
238 public UUID LoadedItemID {
239 get {
240 return _loadedID;
241 }
242 set {
243 _loadedID = value;
244 }
245 }
246
237 public UUID LastOwnerID { 247 public UUID LastOwnerID {
238 get { 248 get {
239 return _lastOwnerID; 249 return _lastOwnerID;
@@ -359,8 +369,8 @@ namespace OpenSim.Framework
359 /// <param name="partID">The new part ID to which this item belongs</param> 369 /// <param name="partID">The new part ID to which this item belongs</param>
360 public void ResetIDs(UUID partID) 370 public void ResetIDs(UUID partID)
361 { 371 {
362 if (_oldID == UUID.Zero) 372 _loadedID = _oldID;
363 _oldID = ItemID; 373 _oldID = ItemID;
364 ItemID = UUID.Random(); 374 ItemID = UUID.Random();
365 ParentPartID = partID; 375 ParentPartID = partID;
366 ParentID = partID; 376 ParentID = partID;