From 0026399358e04ccac5e49dd79f4c832730060370 Mon Sep 17 00:00:00 2001 From: Colin Fletcher Date: Mon, 10 Feb 2014 19:41:11 +0000 Subject: [PATCH] Splice mode: exclude newly-added regions from being shuffled When adding regions in splice mode, exclude the region being added from possibly being shuffled. I don't know whether this might have some other adverse effects, but it fixes an obvious defect in 'Splice' mode where newly-recorded regions 'jump' to the playhead position when recording stops, and since splice mode is pretty much broken anyway, I don't think it can make matters any worse. --- 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 47462a3575..d939ba61b0 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -706,7 +706,7 @@ Playlist::flush_notifications (bool from_undo) } } - possibly_splice_unlocked (position, (pos + length) - position, boost::shared_ptr()); + possibly_splice_unlocked (position, (pos + length) - position, region); } void