From aa0e882c5fc724a18b2d7116a95522af30365c3a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 24 Jul 2023 17:04:51 -0600 Subject: [PATCH] regions: force position time domain when a region is added to a playlist Q: why not length time domain also? --- libs/ardour/playlist.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index 066bf72dbe..9360ca2c1c 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -779,6 +779,7 @@ Playlist::add_region_internal (std::shared_ptr region, timepos_t const & } region->set_position_unchecked (position); + region->set_position_time_domain (time_domain()); regions.insert (upper_bound (regions.begin (), regions.end (), region, cmp), region); all_regions.insert (region);