diff options
author | nick_m <mainsbridge@gmail.com> | 2015-10-03 01:18:59 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2015-10-20 00:53:28 +1100 |
commit | 16480001082168a25af12239bb43baa7991a99c0 (patch) | |
tree | 808ff5f1c59cf01e528f3dca305845a24e28cebd /libs/ardour/automatable.cc | |
parent | 24142a424e747e591b5edae744a63d6afbd221bc (diff) |
Automation - fix occasional inverted bool state after write.
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r-- | libs/ardour/automatable.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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)); + } } } |