aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs4
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index a9f283f..99bdda9 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -634,8 +634,8 @@ namespace OpenSim.Region.Environment.Scenes
634 taskItem.desc = item.inventoryDescription; 634 taskItem.desc = item.inventoryDescription;
635 taskItem.owner_id = item.avatarID; 635 taskItem.owner_id = item.avatarID;
636 taskItem.creator_id = item.creatorsID; 636 taskItem.creator_id = item.creatorsID;
637 taskItem.type = taskItem.AssetTypes[item.assetType]; 637 taskItem.type = SceneObjectPart.TaskInventoryItem.Types[item.assetType];
638 taskItem.inv_type = taskItem.AssetTypes[item.invType]; 638 taskItem.inv_type = SceneObjectPart.TaskInventoryItem.Types[item.invType];
639 part.AddInventoryItem(taskItem); 639 part.AddInventoryItem(taskItem);
640 return true; 640 return true;
641 } 641 }
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index cbe7b09..7684b4f 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -717,7 +717,7 @@ namespace OpenSim.Region.Environment.Scenes
717 717
718 public class TaskInventoryItem 718 public class TaskInventoryItem
719 { 719 {
720 public string[] AssetTypes = new string[] 720 public static string[] Types = new string[]
721 { 721 {
722 "texture", 722 "texture",
723 "sound", 723 "sound",
@@ -734,7 +734,7 @@ namespace OpenSim.Region.Environment.Scenes
734 }; 734 };
735 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; //parent folder id
738 738
739 public uint base_mask = FULL_MASK_PERMISSIONS; 739 public uint base_mask = FULL_MASK_PERMISSIONS;
740 public uint owner_mask = FULL_MASK_PERMISSIONS; 740 public uint owner_mask = FULL_MASK_PERMISSIONS;