fix infinite loop in quantize setup
git-svn-id: svn://localhost/ardour2/branches/3.0@8204 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
94b4c264d1
commit
da46b1da24
@ -4659,10 +4659,7 @@ Editor::quantize_region ()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (RegionSelection::iterator r = rs.begin(); r != rs.end(); ) {
|
for (RegionSelection::iterator r = rs.begin(); r != rs.end(); ++r) {
|
||||||
RegionSelection::iterator tmp = r;
|
|
||||||
++tmp;
|
|
||||||
|
|
||||||
MidiRegionView* const mrv = dynamic_cast<MidiRegionView*> (*r);
|
MidiRegionView* const mrv = dynamic_cast<MidiRegionView*> (*r);
|
||||||
if (mrv) {
|
if (mrv) {
|
||||||
selected_midi_region_cnt++;
|
selected_midi_region_cnt++;
|
||||||
|
Loading…
Reference in New Issue
Block a user