From 8a3b5751fb7e9a3e0525af7f27d5ca8572607354 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sat, 12 Feb 2022 11:13:30 -0600 Subject: [PATCH] triggerbox: initialize follow-count more reliably. this way queues a UIState --- libs/ardour/triggerbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 9631edea60..77bc7ab0ea 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -1498,7 +1498,7 @@ AudioTrigger::estimate_tempo () } /* initialize our follow_length to match the beatcnt ... user can later change this value to have the clip end sooner or later than its data length */ - _follow_length = (Temporal::BBT_Offset( 0, rint(_beatcnt), 0)); //OK ? + set_follow_length(Temporal::BBT_Offset( 0, rint(beatcount), 0)); /* use initial tempo in map (assumed for now to be the only one */