]> git.donarmstrong.com Git - lilypond.git/commitdiff
stem: use pure-height if the stencil is not yet drawn; issue 2441
authorKeith OHara <k-ohara5a5a@oco.net>
Sat, 14 Jul 2012 05:55:48 +0000 (22:55 -0700)
committerKeith OHara <k-ohara5a5a@oco.net>
Sat, 14 Jul 2012 05:55:48 +0000 (22:55 -0700)
lily/stem.cc

index e7ee68b220ea36b7943d3ce503c92db54fbc6d83..8069a456c814e48cf24bddec96bf9d8fae2279ac 100644 (file)
@@ -704,7 +704,7 @@ Stem::internal_height (Grob *me, bool calc_beam)
     If there is a beam but no stem, slope calculations depend on this
     routine to return where the stem end /would/ be.
   */
-  if (!beam && !unsmob_stencil (me->get_property ("stencil")))
+  if (calc_beam && !beam && !unsmob_stencil (me->get_property ("stencil")))
     return Interval ();
 
   Real y1 = robust_scm2double ((calc_beam