summaryrefslogtreecommitdiff
path: root/indra/newview/llwearable.cpp
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-11-04 15:14:54 -0800
committerBryan O'Sullivan <bos@lindenlab.com>2009-11-04 15:14:54 -0800
commitfa3b57bd9f0afcf2d38dae27d4b9765624baf758 (patch)
treeff083f4e4eec5d6d4e9191f34cae6450e0a318ac /indra/newview/llwearable.cpp
parent0e63920569302a4f6afcbc0feb28ff379e4a4bac (diff)
parentb806edf4ac47d18e1a43fb8dbb5fbcad8d13192f (diff)
Merge the work lost in 49c9461937df back into the tree
Diffstat (limited to 'indra/newview/llwearable.cpp')
-rw-r--r--indra/newview/llwearable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llwearable.cpp b/indra/newview/llwearable.cpp
index 746214088a..2b4861ce4f 100644
--- a/indra/newview/llwearable.cpp
+++ b/indra/newview/llwearable.cpp
@@ -1116,7 +1116,7 @@ void LLWearable::saveNewAsset() const
{
llinfos << "Update Agent Inventory via capability" << llendl;
LLSD body;
- body["folder_id"] = gInventory.findCategoryUUIDForType(getAssetType());
+ body["folder_id"] = gInventory.findCategoryUUIDForType(LLFolderType::assetToFolderType(getAssetType()));
body["asset_type"] = LLAssetType::lookup(getAssetType());
body["inventory_type"] = LLInventoryType::lookup(LLInventoryType::IT_WEARABLE);
body["name"] = getName();