diff options
author | Robin Gareus <robin@gareus.org> | 2019-11-13 16:57:28 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-11-13 16:57:28 +0100 |
commit | ff301419b3ca88635744984350cb1643f144deeb (patch) | |
tree | 9a04c5307390619c912ac6a67690b335bd994edb /libs/ardour/automation_watch.cc | |
parent | 7d90ad4023d286ac229c9d5c936b7270e0d05ee6 (diff) |
Fix automation-write when locating
When locating while writing automation, begin a new write-pass,
and add a guard point at the locate target position.
NB set_in_write_pass takes 3 arguments: (write_enable, add_point, when)
the last two default to false, 0.
Diffstat (limited to 'libs/ardour/automation_watch.cc')
-rw-r--r-- | libs/ardour/automation_watch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/automation_watch.cc b/libs/ardour/automation_watch.cc index 6d1bdd5143..f3e2ae5f81 100644 --- a/libs/ardour/automation_watch.cc +++ b/libs/ardour/automation_watch.cc @@ -175,7 +175,7 @@ AutomationWatch::timer () (*aw)->alist()->automation_write())); (*aw)->list()->set_in_write_pass (false); if ( (*aw)->alist()->automation_write() ) { - (*aw)->list()->set_in_write_pass (true, time); + (*aw)->list()->set_in_write_pass (true, true, time); } } } |