diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 5e5b8b5..f3be4bd 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1030,8 +1030,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1030 | foreach (TaskInventoryItem item in TaskInventory.Values) | 1030 | foreach (TaskInventoryItem item in TaskInventory.Values) |
1031 | { | 1031 | { |
1032 | invString.AddItemStart(); | 1032 | invString.AddItemStart(); |
1033 | invString.AddNameValueLine("item_id", item.item_id.ToStringHyphenated()); | 1033 | invString.AddNameValueLine("item_id", item.item_id.ToString()); |
1034 | invString.AddNameValueLine("parent_id", item.parent_id.ToStringHyphenated()); | 1034 | invString.AddNameValueLine("parent_id", item.parent_id.ToString()); |
1035 | 1035 | ||
1036 | invString.AddPermissionsStart(); | 1036 | invString.AddPermissionsStart(); |
1037 | invString.AddNameValueLine("base_mask", "0x7FFFFFFF"); | 1037 | invString.AddNameValueLine("base_mask", "0x7FFFFFFF"); |
@@ -1039,13 +1039,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
1039 | invString.AddNameValueLine("group_mask", "0x7FFFFFFF"); | 1039 | invString.AddNameValueLine("group_mask", "0x7FFFFFFF"); |
1040 | invString.AddNameValueLine("everyone_mask", "0x7FFFFFFF"); | 1040 | invString.AddNameValueLine("everyone_mask", "0x7FFFFFFF"); |
1041 | invString.AddNameValueLine("next_owner_mask", "0x7FFFFFFF"); | 1041 | invString.AddNameValueLine("next_owner_mask", "0x7FFFFFFF"); |
1042 | invString.AddNameValueLine("creator_id", item.creator_id.ToStringHyphenated()); | 1042 | invString.AddNameValueLine("creator_id", item.creator_id.ToString()); |
1043 | invString.AddNameValueLine("owner_id", item.owner_id.ToStringHyphenated()); | 1043 | invString.AddNameValueLine("owner_id", item.owner_id.ToString()); |
1044 | invString.AddNameValueLine("last_owner_id", item.last_owner_id.ToStringHyphenated()); | 1044 | invString.AddNameValueLine("last_owner_id", item.last_owner_id.ToString()); |
1045 | invString.AddNameValueLine("group_id", item.group_id.ToStringHyphenated()); | 1045 | invString.AddNameValueLine("group_id", item.group_id.ToString()); |
1046 | invString.AddSectionEnd(); | 1046 | invString.AddSectionEnd(); |
1047 | 1047 | ||
1048 | invString.AddNameValueLine("asset_id", item.asset_id.ToStringHyphenated()); | 1048 | invString.AddNameValueLine("asset_id", item.asset_id.ToString()); |
1049 | invString.AddNameValueLine("type", item.type); | 1049 | invString.AddNameValueLine("type", item.type); |
1050 | invString.AddNameValueLine("inv_type", item.inv_type); | 1050 | invString.AddNameValueLine("inv_type", item.inv_type); |
1051 | invString.AddNameValueLine("flags", "0x00"); | 1051 | invString.AddNameValueLine("flags", "0x00"); |
@@ -1255,12 +1255,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
1255 | tex.FaceTextures[i].RGBA = tmpcolor; | 1255 | tex.FaceTextures[i].RGBA = tmpcolor; |
1256 | } | 1256 | } |
1257 | } | 1257 | } |
1258 | tmpcolor = tex.DefaultTexture.RGBA; | 1258 | tmpcolor = tex.FaceTextures[0].RGBA; |
1259 | tmpcolor.A = tmpcolor.A * 255; | 1259 | tmpcolor.A = tmpcolor.A * 255; |
1260 | tmpcolor.R = tmpcolor.R * 255; | 1260 | tmpcolor.R = tmpcolor.R * 255; |
1261 | tmpcolor.G = tmpcolor.G * 255; | 1261 | tmpcolor.G = tmpcolor.G * 255; |
1262 | tmpcolor.B = tmpcolor.B * 255; | 1262 | tmpcolor.B = tmpcolor.B * 255; |
1263 | tex.DefaultTexture.RGBA = tmpcolor; | 1263 | tex.FaceTextures[0].RGBA = tmpcolor; |
1264 | UpdateTextureEntry(tex.ToBytes()); | 1264 | UpdateTextureEntry(tex.ToBytes()); |
1265 | } | 1265 | } |
1266 | 1266 | ||
@@ -1544,8 +1544,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1544 | public InventoryStringBuilder(LLUUID folderID, LLUUID parentID) | 1544 | public InventoryStringBuilder(LLUUID folderID, LLUUID parentID) |
1545 | { | 1545 | { |
1546 | BuildString += "\tinv_object\t0\n\t{\n"; | 1546 | BuildString += "\tinv_object\t0\n\t{\n"; |
1547 | AddNameValueLine("obj_id", folderID.ToStringHyphenated()); | 1547 | AddNameValueLine("obj_id", folderID.ToString()); |
1548 | AddNameValueLine("parent_id", parentID.ToStringHyphenated()); | 1548 | AddNameValueLine("parent_id", parentID.ToString()); |
1549 | AddNameValueLine("type", "category"); | 1549 | AddNameValueLine("type", "category"); |
1550 | AddNameValueLine("name", "Contents"); | 1550 | AddNameValueLine("name", "Contents"); |
1551 | AddSectionEnd(); | 1551 | AddSectionEnd(); |