From: Han-Wen Nienhuys Date: Fri, 3 Jun 2005 19:47:19 +0000 (+0000) Subject: (process_acknowledged_grobs): don't X-Git-Tag: release/2.5.28~17 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=4a9a2dcf5b062075c01f019da36963ec7ae34b7b;p=lilypond.git (process_acknowledged_grobs): don't process anything unless we're at the end of a pending beam. Fixes syncopated 8ths beamed across a beat. --- diff --git a/lily/auto-beam-engraver.cc b/lily/auto-beam-engraver.cc index 980bedd576..46f0bf36bb 100644 --- a/lily/auto-beam-engraver.cc +++ b/lily/auto-beam-engraver.cc @@ -346,31 +346,12 @@ Auto_beam_engraver::acknowledge_grob (Grob_info info) return; Moment dur = unsmob_duration (m->get_property ("duration"))->get_length (); - /* FIXME: - This comment has been here since long: - - if shortest duration would change - consider ending and beginning beam first. - - but the code didn't match: */ -#if 1 consider_end (dur); consider_begin (dur); if (dur < shortest_mom_) shortest_mom_ = dur; -#else - /* I very much suspect that we wanted: */ - - consider_end (shortest_mom_); - if (dur < shortest_mom_) - { - shortest_mom_ = dur; - consider_end (shortest_mom_); - } - consider_begin (shortest_mom_); -#endif if (!stems_) return;