process anything unless we're at the end of a pending beam. Fixes
syncopated 8ths beamed across a beat.
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;