master
Mnikolenko Productengine 2025-03-13 16:39:12 +02:00
parent bb5e05e986
commit d6fb10de86
1 changed files with 3 additions and 5 deletions

View File

@ -4722,9 +4722,7 @@ void wear_multiple(const uuid_vec_t& ids, bool replace)
LLAppearanceMgr::instance().wearItemsOnAvatar(ids, true, replace, cb);
}
// SLapp for easy-wearing of a stock (library) avatar
//
bool wear_library_category(const LLSD& query_map, bool append)
bool wear_category(const LLSD& query_map, bool append)
{
LLUUID folder_uuid;
@ -4775,7 +4773,7 @@ public:
const std::string& grid,
LLMediaCtrl* web)
{
if (wear_library_category(query_map, false))
if (wear_category(query_map, false))
{
// Assume this is coming from the predefined avatars web floater
LLUIUsage::instance().logCommand("Avatar.WearPredefinedAppearance");
@ -4799,7 +4797,7 @@ public:
bool handle(const LLSD& tokens, const LLSD& query_map, const std::string& grid, LLMediaCtrl* web)
{
wear_library_category(query_map, true);
wear_category(query_map, true);
return true;
}