]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem.cc
stem: use pure-height if the stencil is not yet drawn; issue 2441
[lilypond.git] / 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