mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-28 16:08:12 +01:00
use ItemChangeBlocker to improve performance of RegionView::remove_silent_frames()
This commit is contained in:
parent
ab34861388
commit
6ed1402812
1 changed files with 2 additions and 0 deletions
|
|
@ -391,6 +391,8 @@ RegionView::hide_silent_frames ()
|
|||
void
|
||||
RegionView::drop_silent_frames ()
|
||||
{
|
||||
ItemChangeBlocker cb (*group);
|
||||
|
||||
for (auto& _silent_frame : _silent_frames) {
|
||||
delete _silent_frame;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue