mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Fix crash on coming out of record that I introduced a few commits ago.
git-svn-id: svn://localhost/ardour2/branches/3.0@8040 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a19e79f4f0
commit
b21f4cab02
1 changed files with 4 additions and 2 deletions
|
|
@ -637,6 +637,8 @@ AudioStreamView::update_rec_regions (framepos_t start, framecnt_t cnt)
|
||||||
|
|
||||||
list<pair<boost::shared_ptr<Region>,RegionView*> >::iterator tmp = iter;
|
list<pair<boost::shared_ptr<Region>,RegionView*> >::iterator tmp = iter;
|
||||||
++tmp;
|
++tmp;
|
||||||
|
|
||||||
|
assert (n < rec_rects.size());
|
||||||
|
|
||||||
if (!canvas_item_visible (rec_rects[n].rectangle)) {
|
if (!canvas_item_visible (rec_rects[n].rectangle)) {
|
||||||
/* rect already hidden, this region is done */
|
/* rect already hidden, this region is done */
|
||||||
|
|
@ -705,9 +707,9 @@ AudioStreamView::update_rec_regions (framepos_t start, framecnt_t cnt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
iter = tmp;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iter = tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue