From 032ad199c342e53b632671a8561215ff461b2c16 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sat, 13 Jun 2026 07:39:08 +0800 Subject: Basic @detach:uuid=force implementation There's this: Force removing attachments : @detach[:attachpt]=force (*) Implemented in v1.10 Where part is : chest|skull|left shoulder|right shoulder|left hand|right hand|left foot|right foot|spine| pelvis|mouth|chin|left ear|right ear|left eyeball|right eyeball|nose|r upper arm|r forearm| l upper arm|l forearm|right hip|r upper leg|r lower leg|left hip|l upper leg|l lower leg|stomach|left pec| right pec|center 2|top right|top|top left|center|bottom left|bottom|bottom right|neck|root It doesn't say UUID, but then there's this: Force removing attachments (alias) : @remattach[:attachpt or :uuid]=force (*) Implemented in v1.22, uuid parameter added in v2.9.20 This command is an alias to @detach[:attachpt]=force (to keep things consistent). So there should be a @detach:uuid=force, because there are objects that command this. --- indra/newview/rlvhandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/rlvhandler.cpp') diff --git a/indra/newview/rlvhandler.cpp b/indra/newview/rlvhandler.cpp index 2cc06b3bbc..d66e304b7e 100644 --- a/indra/newview/rlvhandler.cpp +++ b/indra/newview/rlvhandler.cpp @@ -393,6 +393,10 @@ ECmdRet ForceHandler::onCommand(const RlvCommand& rlvCmd) folderID = findDescendentCategoryIDByName(folderID, option); LLAppearanceMgr::instance().takeOffOutfit(folderID); } + else + { + LLAppearanceMgr::instance().removeItemFromAvatar(gObjectList.findObject(LLUUID(option))->getAttachmentItemID()); + } } return ECmdRet::Succeeded; } -- cgit v1.3