From fc194237eb3a7d526c5ce31281a63dd239be78ce Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 17 May 2024 09:05:27 -0600 Subject: [PATCH] Locations::clear_ranges() now removes punch & loop ranges --- libs/ardour/location.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index f05585c84c..4d9d86310d 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -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; }