diff options
author | nick_m <mainsbridge@gmail.com> | 2015-11-02 02:12:54 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2015-11-02 02:12:54 +1100 |
commit | 7ade596c92b00eae871e8f2f5b5d6e0d1ebd93d7 (patch) | |
tree | 447de9dc0885f72674ce6b56145791fa6820310a /libs/ardour/automatable.cc | |
parent | 2d47196f4305c28fe9c9116b0b890f1c48b99508 (diff) |
Clean up _before XMLNode in AutomationList if no automation write occurred.
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r-- | libs/ardour/automatable.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 27ac7d8401..9670f68689 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -398,9 +398,7 @@ Automatable::transport_stopped (framepos_t now) l->stop_touch (true, now); - if (list_did_write) { - c->commit_transaction (); - } + c->commit_transaction (list_did_write); l->write_pass_finished (now, Config->get_automation_thinning_factor ()); |