13
0

c&p debug

git-svn-id: svn://localhost/ardour2/branches/3.0@8919 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-02-21 03:58:23 +00:00
parent 7635a20a75
commit 5369f0b121

View File

@ -777,8 +777,12 @@ Playlist::add_region_internal (boost::shared_ptr<Region> region, framepos_t posi
regions.insert (upper_bound (regions.begin(), regions.end(), region, cmp), region);
all_regions.insert (region);
cerr << "Playlist: region added at " << position << endl;
possibly_splice_unlocked (position, region->length(), region);
cerr << "Playlist: post-splice, region @ " << region->position() << endl;
if (!holding_state ()) {
/* layers get assigned from XML state, and are not reset during undo/redo */
relayer ();