]> git.donarmstrong.com Git - lilypond.git/commitdiff
Remove kludge from beam collision code.
authorJoe Neeman <joeneeman@gmail.com>
Tue, 31 May 2011 11:22:03 +0000 (14:22 +0300)
committerCarl Sorensen <c_sorensen@byu.edu>
Mon, 4 Jul 2011 18:57:18 +0000 (12:57 -0600)
This is no longer needed since the fix to bug 1667.

lily/beam.cc

index 29c5ba667537826bf5787dff21596482af37e6ae..66c58ef8dcc2fc271c6ccd318c43c74825bd216d 100644 (file)
@@ -1209,11 +1209,6 @@ Beam::shift_region_to_valid (SCM grob, SCM posns)
       if (!covered[i]->is_live())
         continue;
 
-      // TODO - use this logic in is_cross_staff.
-      if (is_cross_staff (me)
-          && Align_interface::has_interface (common_refpoint_of_array (stems, me, Y_AXIS)))
-        continue;
-
       if (Beam::has_interface (covered[i]) && is_cross_staff (covered[i]))
         continue;