]> git.donarmstrong.com Git - lilypond.git/commitdiff
(process_acknowledged_grobs): don't
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 3 Jun 2005 19:47:19 +0000 (19:47 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 3 Jun 2005 19:47:19 +0000 (19:47 +0000)
process anything unless we're at the end of a pending beam. Fixes
syncopated 8ths beamed across a beat.

lily/auto-beam-engraver.cc

index 980bedd57686bd06b76b2bc012ebe329602048dc..46f0bf36bb6c5f649a192222b5e94f41bb923d84 100644 (file)
@@ -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;