mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
more combine/uncombine fixes including making uncombine push the compound region gain level into the constituents and doing the right thing when we uncombine in a playlist other than the one in which the compound region was created
git-svn-id: svn://localhost/ardour2/branches/3.0@9601 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
92ede6153e
commit
d6be900da0
9 changed files with 90 additions and 69 deletions
|
|
@ -2498,6 +2498,10 @@ RouteTimeAxisView::combine_regions ()
|
|||
boost::shared_ptr<Playlist> playlist = track()->playlist();
|
||||
|
||||
_view->foreach_selected_regionview (sigc::bind (sigc::ptr_fun (add_region_to_list), &selected_regions));
|
||||
|
||||
if (selected_regions.size() < 2) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
playlist->clear_changes ();
|
||||
boost::shared_ptr<Region> compound_region = playlist->combine (selected_regions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue