From ea4a6f62153b5a62f03ea403bb965c1c0f4d6a85 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 21 Mar 2022 12:07:43 -0500 Subject: [PATCH] triggerbox: d+d: follow count should be carried over as part of the arrangement --- libs/ardour/triggerbox.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index e4cb0f5f7f..c0e4a2e441 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -3142,7 +3142,10 @@ TriggerBox::set_region (uint32_t slot, boost::shared_ptr region) t->set_follow_action_probability(all_triggers[slot]->follow_action_probability()); t->set_quantization(all_triggers[slot]->quantization()); //color ? - //we could try to match the prior clip's length by playing with the follow_count and follow_length (?) + + t->set_follow_count(all_triggers[slot]->follow_count()); + t->set_follow_length(all_triggers[slot]->follow_length()); + t->set_use_follow_length(all_triggers[slot]->use_follow_length()); } /* XXX what happens if pending is already set? */