]> 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)
committerJoe Neeman <joeneeman@gmail.com>
Sat, 4 Jun 2011 18:14:04 +0000 (21:14 +0300)
This is no longer needed since the fix to bug 1667.

lily/beam.cc

index 288eb226bcf718779e7275aa3b081d642062961c..8a30752c386eccd8294b181c5dd18159c2b492d2 100644 (file)
@@ -1203,11 +1203,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;