From a31be7fffbc886000120691ea8d0d84265c3d837 Mon Sep 17 00:00:00 2001 From: hanwen Date: Fri, 3 Jun 2005 19:47:19 +0000 Subject: [PATCH] (process_acknowledged_grobs): don't process anything unless we're at the end of a pending beam. Fixes syncopated 8ths beamed across a beat. --- lily/auto-beam-engraver.cc | 19 ------------------- 1 file changed, 19 deletions(-) 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; -- 2.39.5