summaryrefslogtreecommitdiff
path: root/indra/newview/rlvhelper.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-07-03 10:31:01 +0800
committerErik Kundiman <erik@megapahit.org>2025-07-03 10:31:01 +0800
commit40de4208328bcac51782302e7028ec2dd057224e (patch)
tree4525dba29f0f62bdc400341c70bdecfd9123fb2c /indra/newview/rlvhelper.cpp
parenta89991feac78b87d784dde742a17e67772856d18 (diff)
Partial @detach=<y/n> command implementation
Only greying out the detach option on the contextual menu popped up by right clicking the attachment in the 3D view/world, and not yet preventing detachment from the inventory/wearing panels.
Diffstat (limited to 'indra/newview/rlvhelper.cpp')
-rw-r--r--indra/newview/rlvhelper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/rlvhelper.cpp b/indra/newview/rlvhelper.cpp
index ccb4675cbb..b4abbc04f3 100644
--- a/indra/newview/rlvhelper.cpp
+++ b/indra/newview/rlvhelper.cpp
@@ -63,6 +63,7 @@ BehaviourDictionary::BehaviourDictionary()
// AddRem
addEntry(new BehaviourProcessor<EBehaviour::Sit>("sit"));
addEntry(new BehaviourProcessor<EBehaviour::Unsit>("unsit"));
+ addEntry(new BehaviourProcessor<EBehaviour::Detach>("detach"));
// Populate mString2InfoMap (the tuple <behaviour, type> should be unique)
for (const BehaviourInfo* bhvr_info_p : mBhvrInfoList)