From d841b13673a5ef2b4458accb53120047e5d458a1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 28 Mar 2022 19:39:07 +0200 Subject: [PATCH] Fix moving automation with region This issue was introduced in eae9d276fe6363e0660fd41fad8d7ae82ce4aa73 by using the incorrect new nutempo methods for the case at hand. --- libs/ardour/playlist.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index 05b43bf99a..ddd529960f 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -499,7 +499,7 @@ Playlist::notify_region_removed (boost::shared_ptr r) void Playlist::notify_region_moved (boost::shared_ptr r) { - Temporal::RangeMove move (r->nt_last (), r->length (), r->position ()); + Temporal::RangeMove move (r->last_position (), r->last_length (), r->position ()); if (holding_state ()) { pending_range_moves.push_back (move);