From 0be530821c5afb2bb7377efdb9eb886e350d0544 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 30 Dec 2011 23:41:11 +0000 Subject: [PATCH] Debug code. git-svn-id: svn://localhost/ardour2/branches/3.0@11122 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/playlist.cc | 5 +++++ 1 file changed, 5 insertions(+) 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,