diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-10 13:07:33 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-10 13:07:33 +0000 |
commit | 2022a05c00372f7ef50aa47d70a82b48ecfe30a9 (patch) | |
tree | 6043fcc009981810bb614f705feac0642a5666bc /libs/ardour/playlist.cc | |
parent | f519f469b27fdd748acf483a4f03994c1fc6ae4c (diff) |
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
Diffstat (limited to 'libs/ardour/playlist.cc')
-rw-r--r-- | libs/ardour/playlist.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index 8a19b1fceb..d6347d1c10 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -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 */ |