X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fauto-beam-engraver.cc;h=94671aabf05b43b3a9dbc2aa418c16d6e2799704;hb=f25fce62a31762d6621272fa7b703cf38d481b3a;hp=58f289b822f0dcb231a1d5cd396acd5f764f9bff;hpb=85e1c5282cac31ca773de72f4c430e9f1bbbe862;p=lilypond.git diff --git a/lily/auto-beam-engraver.cc b/lily/auto-beam-engraver.cc index 58f289b822..94671aabf0 100644 --- a/lily/auto-beam-engraver.cc +++ b/lily/auto-beam-engraver.cc @@ -58,7 +58,6 @@ private: int count_i_; Moment last_add_mom_; - /* Projected ending of the beam we're working on. */ @@ -251,6 +250,8 @@ Auto_beam_engraver::begin_beam () grouping_p_ = new Beaming_info_list; beam_start_moment_ = now_mom (); beam_start_location_ = *unsmob_moment (get_property ("measurePosition")); + + } @@ -394,6 +395,14 @@ Auto_beam_engraver::acknowledge_grob (Grob_info info) return; } + + /* + ignore grace notes. + */ + if (bool (beam_start_location_.grace_mom_) != bool (now_mom ().grace_mom_)) + return ; + + Moment dur = unsmob_duration (rhythmic_req->get_mus_property ("duration"))->length_mom (); /* FIXME: