Set up layering correctly on compound playlists so that

the regions on the compound list are arranged the same
as on the original.


git-svn-id: svn://localhost/ardour2/branches/3.0@12643 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-06-10 13:07:33 +00:00
parent f519f469b2
commit 2022a05c00

View File

@ -2837,6 +2837,7 @@ Playlist::combine (const RegionList& r)
/* make position relative to zero */
pl->add_region (copied_region, original_region->position() - earliest_position);
copied_region->set_layer (original_region->layer ());
/* use the maximum number of channels for any region */