diff options
author | MW | 2007-08-22 16:59:13 +0000 |
---|---|---|
committer | MW | 2007-08-22 16:59:13 +0000 |
commit | 5ea6d8d739d9aaf0cbcbe3151a37d50335ac1b8b (patch) | |
tree | d1b1a451161731003c4f66fa1f0a85a3772a1298 /OpenSim/Region/Environment/Scenes | |
parent | A case of 'while I was working someone set me up the bomb'. (diff) | |
download | opensim-SC-5ea6d8d739d9aaf0cbcbe3151a37d50335ac1b8b.zip opensim-SC-5ea6d8d739d9aaf0cbcbe3151a37d50335ac1b8b.tar.gz opensim-SC-5ea6d8d739d9aaf0cbcbe3151a37d50335ac1b8b.tar.bz2 opensim-SC-5ea6d8d739d9aaf0cbcbe3151a37d50335ac1b8b.tar.xz |
A little bit of cleaning up.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 4 |
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; |