summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-29 04:28:07 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-29 04:28:07 +0300
commit11b2f138cecc123c3e6876b56ea63c5fbd734d56 (patch)
tree903e92534851d3a674923bb13c038fdd700f4718 /indra/newview/llappearancemgr.cpp
parentffc4f262b259c6085773c60177c17f8339237221 (diff)
SL-19502 Copying folders should copy thumbnails
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r--indra/newview/llappearancemgr.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index 8e44411d52..a4dc0c341e 100644
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -2786,8 +2786,6 @@ void LLAppearanceMgr::wearCategoryFinal(LLUUID& cat_id, bool copy_items, bool ap
pid = gInventory.getRootFolderID();
}
- // UDP PATH
- // D567 needs to carry over thumbnail info if present
gInventory.createNewCategory(
pid,
LLFolderType::FT_NONE,
@@ -2807,7 +2805,8 @@ void LLAppearanceMgr::wearCategoryFinal(LLUUID& cat_id, bool copy_items, bool ap
// BAP fixes a lag in display of created dir.
gInventory.notifyObservers();
- }
+ },
+ cat->getThumbnailUUID()
);
}
else
@@ -4050,8 +4049,6 @@ void LLAppearanceMgr::makeNewOutfitLinks(const std::string& new_folder_name, boo
// First, make a folder in the My Outfits directory.
const LLUUID parent_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_MY_OUTFITS);
- // UDP PATH, should remove
- // D567 copy thumbnail info from source folder
gInventory.createNewCategory(
parent_id,
LLFolderType::FT_OUTFIT,