aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorMW2007-08-22 15:07:21 +0000
committerMW2007-08-22 15:07:21 +0000
commita3648b6862838af17f7f50a154d6087e3ccc21a2 (patch)
tree83fee716f409426ecdf434d97a4a967243319504 /OpenSim/Region/Environment
parentFixed typo. (diff)
downloadopensim-SC_OLD-a3648b6862838af17f7f50a154d6087e3ccc21a2.zip
opensim-SC_OLD-a3648b6862838af17f7f50a154d6087e3ccc21a2.tar.gz
opensim-SC_OLD-a3648b6862838af17f7f50a154d6087e3ccc21a2.tar.bz2
opensim-SC_OLD-a3648b6862838af17f7f50a154d6087e3ccc21a2.tar.xz
added ParentPartID to TaskInventoryItem class to make it easier to store them in database.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 8735070..cbe7b09 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -417,6 +417,7 @@ namespace OpenSim.Region.Environment.Scenes
417 { 417 {
418 item.parent_id = m_folderID; 418 item.parent_id = m_folderID;
419 item.creation_date = 1000; 419 item.creation_date = 1000;
420 item.ParentPartID = this.UUID;
420 this.TaskInventory.Add(item.item_id, item); 421 this.TaskInventory.Add(item.item_id, item);
421 this.m_inventorySerial++; 422 this.m_inventorySerial++;
422 } 423 }
@@ -444,8 +445,6 @@ namespace OpenSim.Region.Environment.Scenes
444 client.SendTaskInventory(this.m_uuid, 0, new byte[0]); 445 client.SendTaskInventory(this.m_uuid, 0, new byte[0]);
445 return false; 446 return false;
446 } 447 }
447 //client.SendTaskInventory(this.m_uuid, 1, Helpers.StringToField("primInventory2"));
448 //client.SendTaskInventory(this.m_uuid, 0, new byte[0]);
449 } 448 }
450 return false; 449 return false;
451 } 450 }
@@ -733,6 +732,7 @@ namespace OpenSim.Region.Environment.Scenes
733 "lsltext", 732 "lsltext",
734 "" 733 ""
735 }; 734 };
735
736 public LLUUID item_id = LLUUID.Zero; 736 public LLUUID item_id = LLUUID.Zero;
737 public LLUUID parent_id = LLUUID.Zero; 737 public LLUUID parent_id = LLUUID.Zero;
738 738
@@ -753,11 +753,11 @@ namespace OpenSim.Region.Environment.Scenes
753 public string name = ""; 753 public string name = "";
754 public string desc = ""; 754 public string desc = "";
755 public uint creation_date = 0; 755 public uint creation_date = 0;
756 public string FileName = ""; 756
757 public LLUUID ParentPartID = LLUUID.Zero;
757 758
758 public TaskInventoryItem() 759 public TaskInventoryItem()
759 { 760 {
760 FileName = "taskItem" + LLUUID.Random().ToString();
761 } 761 }
762 } 762 }
763 } 763 }