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.
This commit is contained in:
Colin Fletcher 2014-02-10 19:41:11 +00:00
parent 349f66f413
commit 0026399358

View File

@ -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