Remove as well as destroying last capture regions. Closes #2971.
git-svn-id: svn://localhost/ardour2/branches/3.0@6405 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -2949,6 +2949,10 @@ Session::remove_last_capture ()
|
||||
}
|
||||
}
|
||||
|
||||
for (list<boost::shared_ptr<Region> >::iterator i = r.begin(); i != r.end(); ++i) {
|
||||
remove_region (*i);
|
||||
}
|
||||
|
||||
destroy_regions (r);
|
||||
|
||||
save_state (_current_snapshot_name);
|
||||
|
||||
Reference in New Issue
Block a user