From c5ad460900053386d681386482cd60119194b954 Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Sun, 18 Sep 2011 19:09:52 +0200 Subject: [PATCH] Uses Beam::is_knee instead of get_property ("knee") to check for kneed beams. This fixes a problem in the code base where the first stem of a beam sometimes had an ideal_y of its stem_info set to an incorrect value. --- lily/stem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/stem.cc b/lily/stem.cc index 6575914789..f6bedcfd95 100644 --- a/lily/stem.cc +++ b/lily/stem.cc @@ -988,7 +988,7 @@ Stem::calc_stem_info (SCM smob) Also, not for knees. Seems to be a good thing. */ bool no_extend = to_boolean (me->get_property ("no-stem-extend")); - bool is_knee = to_boolean (beam->get_property ("knee")); + bool is_knee = Beam::is_knee (beam); if (!no_extend && !is_knee) { /* Highest beam of (UP) beam must never be lower than middle -- 2.39.2