diff options
author | Carl Hetherington <carl@carlh.net> | 2011-12-27 18:33:59 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-12-27 18:33:59 +0000 |
commit | 1ac41882d3ac4b7dc380095af09b7db84f98205a (patch) | |
tree | cc67196f8066ae14603285ffe7e4bdb76f60edad /libs/ardour/playlist.cc | |
parent | e470fd63037d8e75849dd7b2322b6fda70b66717 (diff) |
Improve debug slightly and fix raise/lower.
git-svn-id: svn://localhost/ardour2/branches/3.0@11094 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/playlist.cc')
-rw-r--r-- | libs/ardour/playlist.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index 4d7e63599f..624ad44510 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -2519,7 +2519,7 @@ Playlist::commit_temporary_layers (TemporaryLayers const & temporary_layers) (*i)->set_layer (0); } - DEBUG_TRACE (DEBUG::Layering, string_compose ("\t%1 %2\n", (*i)->name(), (*i)->layer())); + DEBUG_TRACE (DEBUG::Layering, string_compose ("\t%1 temporary %2 committed %3\n", (*i)->name(), temporary_layers.get (*i), (*i)->layer())); } notify_layering_changed (); @@ -2579,13 +2579,13 @@ Playlist::relayer (boost::shared_ptr<Region> region, double temporary_layer) void Playlist::raise_region (boost::shared_ptr<Region> region) { - relayer (region, region->layer() + 0.5); + relayer (region, region->layer() + 1.5); } void Playlist::lower_region (boost::shared_ptr<Region> region) { - relayer (region, region->layer() - 0.5); + relayer (region, region->layer() - 1.5); } void |