CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Branch:         
Changes by:     Han-Wen Nienhuys <[EMAIL PROTECTED]>    05/06/03 19:47:20

Modified files:
        lily           : auto-beam-engraver.cc 

Log message:
        (process_acknowledged_grobs): don't
        process anything unless we're at the end of a pending beam. Fixes
        syncopated 8ths beamed across a beat.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/auto-beam-engraver.cc.diff?tr1=1.144&tr2=1.145&r1=text&r2=text

Patches:
Index: lilypond/lily/auto-beam-engraver.cc
diff -u lilypond/lily/auto-beam-engraver.cc:1.144 
lilypond/lily/auto-beam-engraver.cc:1.145
--- lilypond/lily/auto-beam-engraver.cc:1.144   Fri Jun  3 19:23:23 2005
+++ lilypond/lily/auto-beam-engraver.cc Fri Jun  3 19:47:19 2005
@@ -346,31 +346,12 @@
        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;


_______________________________________________
Lilypond-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-cvs

Reply via email to