diff options
author | Justin Clarke Casey | 2008-01-11 14:55:27 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-01-11 14:55:27 +0000 |
commit | 1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6 (patch) | |
tree | 7de3586c0d4c7be06c2a6087ec8d8496cfb2f5d8 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | |
parent | * quick fix to fix if webLoginKey is null in DB, return random key (I guess L... (diff) | |
download | opensim-SC_OLD-1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6.zip opensim-SC_OLD-1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6.tar.gz opensim-SC_OLD-1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6.tar.bz2 opensim-SC_OLD-1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6.tar.xz |
Switch prim items type representation to use int rather than strings.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs index 4d25b5d..b188fdd 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -175,8 +175,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
175 | taskItem.desc = item.inventoryDescription; | 175 | taskItem.desc = item.inventoryDescription; |
176 | taskItem.owner_id = item.avatarID; | 176 | taskItem.owner_id = item.avatarID; |
177 | taskItem.creator_id = item.creatorsID; | 177 | taskItem.creator_id = item.creatorsID; |
178 | taskItem.type = TaskInventoryItem.Types[item.assetType]; | 178 | taskItem.type = item.assetType; |
179 | taskItem.inv_type = TaskInventoryItem.InvTypes[item.invType]; | 179 | taskItem.inv_type = item.invType; |
180 | part.AddInventoryItem(taskItem); | 180 | part.AddInventoryItem(taskItem); |
181 | 181 | ||
182 | // It might seem somewhat crude to update the whole group for a single prim inventory change, | 182 | // It might seem somewhat crude to update the whole group for a single prim inventory change, |