summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-07-08 16:23:29 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-07-08 16:23:29 -0400
commit2918ebc081f63bffd5c482375f7fcbbb2faea175 (patch)
treeef94cda50652beec2c9bab54a26bd7f69f318852 /indra/newview/llappearancemgr.h
parent6f62e8b59191ee622591c91a55d02bb6c808e85a (diff)
Combine LLAppearanceMgr::wearOutfit() and wearOutfitByName()
into new private wearOutfit(LLInventoryCategory*) method.
Diffstat (limited to 'indra/newview/llappearancemgr.h')
-rw-r--r--indra/newview/llappearancemgr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llappearancemgr.h b/indra/newview/llappearancemgr.h
index b795494f94..11d209e6b5 100644
--- a/indra/newview/llappearancemgr.h
+++ b/indra/newview/llappearancemgr.h
@@ -263,6 +263,10 @@ private:
static void onOutfitRename(const LLSD& notification, const LLSD& response);
+ // used by both wearOutfit(LLUUID) and wearOutfitByName(std::string)
+ bool wearOutfit(const std::string &desc, LLInventoryCategory* cat,
+ std::string &error_msg, bool copy_items, bool append);
+
bool mAttachmentInvLinkEnabled;
bool mOutfitIsDirty;
bool mIsInUpdateAppearanceFromCOF; // to detect recursive calls.