summaryrefslogtreecommitdiff
path: root/libs/ardour/playlist.cc
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2014-02-10 19:41:11 +0000
committerColin Fletcher <colin.m.fletcher@googlemail.com>2014-05-07 19:46:24 +0100
commit0026399358e04ccac5e49dd79f4c832730060370 (patch)
tree431021359ad7c946917c2dde8443b9165786369e /libs/ardour/playlist.cc
parent349f66f41301d96935874a75329fa070029406e1 (diff)
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.
Diffstat (limited to 'libs/ardour/playlist.cc')
-rw-r--r--libs/ardour/playlist.cc2
1 files changed, 1 insertions, 1 deletions
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<Region>());
+ possibly_splice_unlocked (position, (pos + length) - position, region);
}
void