mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 09:57:44 +01:00
Locations::clear_ranges() now removes punch & loop ranges
This commit is contained in:
parent
93e1e1c1f2
commit
fc194237eb
1 changed files with 2 additions and 4 deletions
|
|
@ -1094,13 +1094,11 @@ Locations::clear_ranges ()
|
|||
tmp = i;
|
||||
++tmp;
|
||||
|
||||
/* We do not remove these ranges as part of this
|
||||
/* We do not remove the session ranges as part of this
|
||||
* operation
|
||||
*/
|
||||
|
||||
if ((*i)->is_auto_punch() ||
|
||||
(*i)->is_auto_loop() ||
|
||||
(*i)->is_session_range()) {
|
||||
if ((*i)->is_session_range()) {
|
||||
i = tmp;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue