mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
fix align_selection_relative() to use regions once only, and in the correct order
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3016 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3c1f6bc51b
commit
f6b7d592f1
1 changed files with 3 additions and 4 deletions
|
|
@ -3164,10 +3164,9 @@ Editor::align_selection_relative (RegionPoint point, nframes_t position, const R
|
|||
|
||||
/* move rest by the same amount */
|
||||
|
||||
RegionSelection::const_iterator i = rs.begin();
|
||||
++i;
|
||||
|
||||
for (; i != rs.end(); ++i) {
|
||||
sorted.pop_front();
|
||||
|
||||
for (list<RegionView*>::iterator i = sorted.begin(); i != sorted.end(); ++i) {
|
||||
|
||||
boost::shared_ptr<Region> region ((*i)->region());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue