From 2022a05c00372f7ef50aa47d70a82b48ecfe30a9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 10 Jun 2012 13:07:33 +0000 Subject: [PATCH] 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 --- libs/ardour/playlist.cc | 1 + 1 file changed, 1 insertion(+) 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 */