mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
Improve debug slightly and fix raise/lower.
git-svn-id: svn://localhost/ardour2/branches/3.0@11094 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e470fd6303
commit
1ac41882d3
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue