From 776e00fd8ad24d763ad6d5f4365d47dae45932d1 Mon Sep 17 00:00:00 2001 From: Keith OHara Date: Fri, 13 Jul 2012 22:55:48 -0700 Subject: [PATCH] stem: use pure-height if the stencil is not yet drawn; issue 2441 --- lily/stem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/stem.cc b/lily/stem.cc index e7ee68b220..8069a456c8 100644 --- a/lily/stem.cc +++ b/lily/stem.cc @@ -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 -- 2.39.5