mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Fix deadlock when no region boundaries are selected in the Snap prefs.
This commit is contained in:
parent
a9907b7d56
commit
8bfbef4888
1 changed files with 6 additions and 0 deletions
|
|
@ -734,6 +734,12 @@ Editor::build_region_boundary_cache ()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* if no snap boundaries were set, just bail out here with an empty region cache */
|
||||||
|
if ( interesting_points.empty() ) {
|
||||||
|
_region_boundary_cache_dirty = false;
|
||||||
|
return;
|
||||||
|
};
|
||||||
|
|
||||||
TimeAxisView *ontrack = 0;
|
TimeAxisView *ontrack = 0;
|
||||||
TrackViewList tlist;
|
TrackViewList tlist;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue