13
0

triggerbox; fast-forward should do nothing if we are not use cue markers

This commit is contained in:
Paul Davis 2022-02-11 10:33:11 -07:00
parent d18426ee95
commit a1384d2789

View File

@ -2579,12 +2579,12 @@ TriggerBox::set_ignore_patch_changes (bool yn)
void
TriggerBox::fast_forward (CueEvents const & cues, samplepos_t transport_position)
{
PBD::Unwinder<bool> uw (_fast_fowarding, true);
if (cues.empty() || cues.front().time > transport_position) {
if (cues.empty() || !(Config->get_cue_behavior() & FollowCues) || (cues.front().time > transport_position)) {
return;
}
PBD::Unwinder<bool> uw (_fast_fowarding, true);
using namespace Temporal;
TempoMap::SharedPtr tmap (TempoMap::use());