X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdrum-note-performer.cc;h=bb55ac2ef6a417c2eae20c369aa19b965ae0409c;hb=eb2d142eadbda419637d62e2ef5877b203dc5534;hp=c81fca04825bcfb2de26d93eb13ecaa646378753;hpb=16cb456cabf477f6d398ff731aa0f10b60913394;p=lilypond.git diff --git a/lily/drum-note-performer.cc b/lily/drum-note-performer.cc index c81fca0482..bb55ac2ef6 100644 --- a/lily/drum-note-performer.cc +++ b/lily/drum-note-performer.cc @@ -64,13 +64,7 @@ Drum_note_performer::process_music () tie_event = ev; } - Moment len = get_event_length (n); - if (now_mom().grace_part_) - { - len.grace_part_ = len.main_part_; - len.main_part_ = Rational (0); - } - + Moment len = get_event_length (n, now_mom ()); Audio_note *p = new Audio_note (*pit, len, tie_event, Pitch (0, 0, 0));