From 4450b5be2c25822ed45e14d1308a7278a8feb842 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 28 Jan 2022 15:55:15 -0600 Subject: [PATCH] triggerbox: potentially useful comment about the process of slot property-setting * first the region is scanned for bpm and one-shot status * then we handle properties that should be applied from a drag&drop * then we handle the existing arrangement-style slot properties that should persist --- libs/ardour/triggerbox.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 70db3041c0..24fca01d62 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -2205,6 +2205,7 @@ TriggerBox::set_region (uint32_t slot, boost::shared_ptr region) return; } + /* set_region_in_worker_thread makes some guesses about whether a clip is a one-shot or looping*/ t->set_region_in_worker_thread (region); /* if we are the target of a drag&drop from another Trigger Slot, we probably want the name, color and other properties to carry over */