From 16480001082168a25af12239bb43baa7991a99c0 Mon Sep 17 00:00:00 2001 From: nick_m Date: Sat, 3 Oct 2015 01:18:59 +1000 Subject: Automation - fix occasional inverted bool state after write. --- libs/ardour/automatable.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/ardour/automatable.cc') diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 1c72f202b2..cfe2d7a853 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -402,13 +402,13 @@ Automatable::transport_stopped (framepos_t now) } l->write_pass_finished (now, Config->get_automation_thinning_factor()); - if (l->automation_playback()) { - c->set_value(c->list()->eval(now)); - } - if (l->automation_state() == Write) { l->set_automation_state (Touch); } + + if (l->automation_playback()) { + c->set_value(c->list()->eval(now)); + } } } -- cgit v1.2.3