Debug code.
authorCarl Hetherington <carl@carlh.net>
Fri, 30 Dec 2011 23:41:11 +0000 (23:41 +0000)
committerCarl Hetherington <carl@carlh.net>
Fri, 30 Dec 2011 23:41:11 +0000 (23:41 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11122 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/playlist.cc

index cd45eb5d4742797ac953c013d7d2226b560e7850..d3a461ea9eecb9bb8e8c74d39236e774519fbfad 100644 (file)
@@ -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,