summaryrefslogtreecommitdiff
path: root/libs/ardour/playlist.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-30 23:41:11 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-30 23:41:11 +0000
commit0be530821c5afb2bb7377efdb9eb886e350d0544 (patch)
treeef63a624131285b8ca35ec7df720b1a0116de06c /libs/ardour/playlist.cc
parentb5b921d8203ea73e53e4460a9e464e17f411c900 (diff)
Debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@11122 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/playlist.cc')
-rw-r--r--libs/ardour/playlist.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc
index cd45eb5d47..d3a461ea9e 100644
--- a/libs/ardour/playlist.cc
+++ b/libs/ardour/playlist.cc
@@ -2418,6 +2418,11 @@ Playlist::relayer ()
RegionList copy = regions.rlist();
copy.sort (RelayerSort ());
+ DEBUG_TRACE (DEBUG::Layering, "relayer() using:\n");
+ for (RegionList::iterator i = copy.begin(); i != copy.end(); ++i) {
+ DEBUG_TRACE (DEBUG::Layering, string_compose ("\t%1 %2\n", (*i)->name(), (*i)->layering_index()));
+ }
+
for (RegionList::iterator i = copy.begin(); i != copy.end(); ++i) {
/* find the time divisions that this region covers; if there are no regions on the list,