X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fstem.cc;h=09c15b567969faf314cdc2b9474668ae94849610;hb=56803f159f4a7bcf205835b781531c7db9c10958;hp=165848acd7d3e73c30581d305d1ed53f1f558500;hpb=4b318c7b80d4b4c4084c49f62fa5ab8035adb136;p=lilypond.git diff --git a/lily/stem.cc b/lily/stem.cc index 165848acd7..09c15b5679 100644 --- a/lily/stem.cc +++ b/lily/stem.cc @@ -235,7 +235,7 @@ Stem::get_default_dir (Grob*me) if (sign (dd - du)) return Direction (sign (dd -du)); - return to_dir (me->get_grob_property ("default-neutral-direction")); + return to_dir (me->get_grob_property ("neutral-direction")); } Real @@ -476,12 +476,9 @@ Stem::brew_molecule (SCM smob) stem_y.unite (Interval (y2,y1)); Real dy = Staff_symbol_referencer::staff_space (me)/2.0; - Real head_wid = 0; if (Grob *hed = support_head (me)) { - Real slope =0.0; - Interval head_height = hed->extent (hed,Y_AXIS); Real y_attach = Note_head::stem_attachment_coordinate ( hed, Y_AXIS);