Fix deadlock when no region boundaries are selected in the Snap prefs.
This commit is contained in:
parent
a9907b7d56
commit
8bfbef4888
@ -734,6 +734,12 @@ Editor::build_region_boundary_cache ()
|
||||
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;
|
||||
TrackViewList tlist;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user