13
0

Fix deadlock when no region boundaries are selected in the Snap prefs.

This commit is contained in:
Ben Loftis 2018-10-02 09:28:05 -05:00
parent a9907b7d56
commit 8bfbef4888

View File

@ -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;