]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/drum-note-performer.cc
MusicXML: Setting global options before (and not after) using them might be a good...
[lilypond.git] / lily / drum-note-performer.cc
index c81fca04825bcfb2de26d93eb13ecaa646378753..bb55ac2ef6a417c2eae20c369aa19b965ae0409c 100644 (file)
@@ -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));