aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/TaskInventoryItem.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-09-07 03:41:29 +0100
committerJustin Clark-Casey (justincc)2010-09-07 03:41:29 +0100
commitf7b28dd32155eac2d55ccf0757b059794d6b5f67 (patch)
treedaba1307fa62acc66a74fb15ca621e32ed24c98b /OpenSim/Framework/TaskInventoryItem.cs
parentminor: comment out some excessive test logging (diff)
downloadopensim-SC_OLD-f7b28dd32155eac2d55ccf0757b059794d6b5f67.zip
opensim-SC_OLD-f7b28dd32155eac2d55ccf0757b059794d6b5f67.tar.gz
opensim-SC_OLD-f7b28dd32155eac2d55ccf0757b059794d6b5f67.tar.bz2
opensim-SC_OLD-f7b28dd32155eac2d55ccf0757b059794d6b5f67.tar.xz
If a scene object part UUID is changed (only possible when not in a scene), then adjust the inventory items to point to the new uuid as well
Diffstat (limited to 'OpenSim/Framework/TaskInventoryItem.cs')
-rw-r--r--OpenSim/Framework/TaskInventoryItem.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs
index 2cb7895..df5b936 100644
--- a/OpenSim/Framework/TaskInventoryItem.cs
+++ b/OpenSim/Framework/TaskInventoryItem.cs
@@ -348,15 +348,15 @@ namespace OpenSim.Framework
348 /// <param name="partID">The new part ID to which this item belongs</param> 348 /// <param name="partID">The new part ID to which this item belongs</param>
349 public void ResetIDs(UUID partID) 349 public void ResetIDs(UUID partID)
350 { 350 {
351 _oldID = _itemID; 351 OldItemID = ItemID;
352 _itemID = UUID.Random(); 352 ItemID = UUID.Random();
353 _parentPartID = partID; 353 ParentPartID = partID;
354 _parentID = partID; 354 ParentID = partID;
355 } 355 }
356 356
357 public TaskInventoryItem() 357 public TaskInventoryItem()
358 { 358 {
359 _creationDate = (uint)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; 359 CreationDate = (uint)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
360 } 360 }
361 } 361 }
362} 362}