13
0

Debug code.

git-svn-id: svn://localhost/ardour2/branches/3.0@11122 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-12-30 23:41:11 +00:00
parent b5b921d820
commit 0be530821c

View File

@ -2418,6 +2418,11 @@ Playlist::relayer ()
RegionList copy = regions.rlist(); RegionList copy = regions.rlist();
copy.sort (RelayerSort ()); 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) { 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, /* find the time divisions that this region covers; if there are no regions on the list,