diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-06-13 07:39:08 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-06-13 07:39:08 +0800 |
| commit | 032ad199c342e53b632671a8561215ff461b2c16 (patch) | |
| tree | c71ada961a13a2b0e0cbaa28b5bb70a908f87b2b | |
| parent | 6ed71a80db54aece0c9e75ee6b1ed916b7d961ca (diff) | |
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.
| -rw-r--r-- | indra/newview/rlvhandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<EBehaviour::Detach>::onCommand(const RlvCommand& rlvCmd) folderID = findDescendentCategoryIDByName(folderID, option); LLAppearanceMgr::instance().takeOffOutfit(folderID); } + else + { + LLAppearanceMgr::instance().removeItemFromAvatar(gObjectList.findObject(LLUUID(option))->getAttachmentItemID()); + } } return ECmdRet::Succeeded; } |
