diff options
author | Rider Linden <rider@lindenlab.com> | 2018-02-26 09:27:14 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-02-26 09:27:14 -0800 |
commit | b766466b3013e39831bcfcaef5d1089c07202afb (patch) | |
tree | 8d60793bc706efe39407cbec0a2c6c16b3bcec51 /indra/newview/llappearancemgr.cpp | |
parent | e9edd37cdb39639e1ab24e2e63d4f83432282c88 (diff) |
Added settings inventory object with subtype
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r-- | indra/newview/llappearancemgr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 0fb811a386..534f3c7eb7 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1026,14 +1026,13 @@ void LLWearableHoldingPattern::recoverMissingWearable(LLWearableType::EType type const LLUUID lost_and_found_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_LOST_AND_FOUND); LLPointer<LLInventoryCallback> cb = new LLBoostFuncInventoryCallback(boost::bind(recovered_item_cb,_1,type,wearable,this)); - create_inventory_item(gAgent.getID(), + create_inventory_wearable(gAgent.getID(), gAgent.getSessionID(), lost_and_found_id, wearable->getTransactionID(), wearable->getName(), wearable->getDescription(), wearable->getAssetType(), - LLInventoryType::IT_WEARABLE, wearable->getType(), wearable->getPermissions().getMaskNextOwner(), cb); |