13
0

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.
This commit is contained in:
Robin Gareus 2019-11-13 16:57:28 +01:00
parent 7d90ad4023
commit ff301419b3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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);
}
}
}