]> git.donarmstrong.com Git - lilypond.git/commitdiff
use common Y of all stems xstaff determination in beam-quanting. release/2.11.26-1
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 8 Jun 2007 03:24:47 +0000 (00:24 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 8 Jun 2007 03:24:47 +0000 (00:24 -0300)
lily/beam-quanting.cc

index 7ef972ec27cdc721660ae36827673d31cb334e8b..5bd62f19bc246e038c86961b6e8d3977c15bb75b 100644 (file)
@@ -189,12 +189,7 @@ Beam::quanting (SCM smob, SCM posns)
 
       stem_xposns.push_back (s->relative_coordinate (common[X_AXIS], X_AXIS));
     }
-  bool xstaff = false;
-  if (lvs && fvs)
-    {
-      Grob *commony = fvs->common_refpoint (lvs, Y_AXIS);
-      xstaff = Align_interface::has_interface (commony);
-    }
+  bool xstaff = Align_interface::has_interface (common[Y_AXIS]);
 
   Direction ldir = Direction (stem_infos[0].dir_);
   Direction rdir = Direction (stem_infos.back ().dir_);