diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-03-29 04:28:07 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-03-29 04:28:07 +0300 |
commit | 11b2f138cecc123c3e6876b56ea63c5fbd734d56 (patch) | |
tree | 903e92534851d3a674923bb13c038fdd700f4718 /indra/newview/llinventoryfunctions.cpp | |
parent | ffc4f262b259c6085773c60177c17f8339237221 (diff) |
SL-19502 Copying folders should copy thumbnails
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r-- | indra/newview/llinventoryfunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index 5b46dc4753..fbcce5f078 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -406,7 +406,7 @@ void copy_inventory_category(LLInventoryModel* model, // Create the initial folder // D567 needs to handle new fields inventory_func_type func = boost::bind(©_inventory_category_content, _1, model, cat, root_copy_id, move_no_copy_items); - gInventory.createNewCategory(parent_id, LLFolderType::FT_NONE, cat->getName(), func); + gInventory.createNewCategory(parent_id, LLFolderType::FT_NONE, cat->getName(), func, cat->getThumbnailUUID()); } void copy_inventory_category_content(const LLUUID& new_cat_uuid, LLInventoryModel* model, LLViewerInventoryCategory* cat, const LLUUID& root_copy_id, bool move_no_copy_items) |