More correct fix for 8bfbef4: the check was already there; just needed to set the dirty flag.

This commit is contained in:
Ben Loftis 2018-10-02 09:41:04 -05:00
parent 8bfbef4888
commit 2b95b5b8b3

View File

@ -730,15 +730,10 @@ Editor::build_region_boundary_cache ()
}
/* if no snap selections are set, boundary cache should be left empty */
if ( interesting_points.empty() ) {
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;