More correct fix for 8bfbef4: the check was already there; just needed to set the...
authorBen Loftis <ben@harrisonconsoles.com>
Tue, 2 Oct 2018 14:41:04 +0000 (09:41 -0500)
committerBen Loftis <ben@harrisonconsoles.com>
Tue, 2 Oct 2018 14:41:04 +0000 (09:41 -0500)
gtk2_ardour/editor_ops.cc

index 4362b579d1e5f1ad5fda596e3e63c91f06d4dd51..7a1abf49c64e72602974031f6579c6e3041dd61c 100644 (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;