13
0

Locations::clear_ranges() now removes punch & loop ranges

This commit is contained in:
Paul Davis 2024-05-17 09:05:27 -06:00
parent 93e1e1c1f2
commit fc194237eb

View File

@ -1094,13 +1094,11 @@ Locations::clear_ranges ()
tmp = i; tmp = i;
++tmp; ++tmp;
/* We do not remove these ranges as part of this /* We do not remove the session ranges as part of this
* operation * operation
*/ */
if ((*i)->is_auto_punch() || if ((*i)->is_session_range()) {
(*i)->is_auto_loop() ||
(*i)->is_session_range()) {
i = tmp; i = tmp;
continue; continue;
} }