X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgrob-pq-engraver.cc;h=31584e46b40be7249cfd7bd747cece150e631edd;hb=f4e286d8d97bf1c5e4ab3993cc6fa3cf8ede30bd;hp=7cb4afab87900821d25ee4f39df5e28a8cec35ea;hpb=e9a308e9c6002900fc336733950a0175bcbcc333;p=lilypond.git diff --git a/lily/grob-pq-engraver.cc b/lily/grob-pq-engraver.cc index 7cb4afab87..31584e46b4 100644 --- a/lily/grob-pq-engraver.cc +++ b/lily/grob-pq-engraver.cc @@ -49,7 +49,8 @@ Grob_pq_engraver::initialize () LY_DEFINE (ly_grob_pq_less_p, "ly:grob-pqinternal_has_interface (ly_symbol2scm ("multi-measure-interface"))) { Moment n = now_mom (); - Moment l = get_event_length (ev); + Moment l = get_event_length (ev, n); if (!l.to_bool ()) return; - if (n.grace_part_) - { - l.grace_part_ = l.main_part_; - l.main_part_ = 0; - } - Moment end = n + l; Grob_pq_entry e; @@ -143,8 +138,16 @@ Grob_pq_engraver::start_translation_timestep () #include "translator.icc" ADD_ACKNOWLEDGER (Grob_pq_engraver, grob); ADD_TRANSLATOR (Grob_pq_engraver, + /* doc */ + "Administrate when certain grobs (e.g., note heads) stop" + " playing.", + + /* create */ + "", + + /* read */ + "busyGrobs ", - /* doc */ "Administrate when certain grobs (eg. note heads) stop playing", - /* create */ "", - /* read */ "busyGrobs", - /* write */ "busyGrobs"); + /* write */ + "busyGrobs " + );