]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/drum-note-performer.cc
Merge branch 'master' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / drum-note-performer.cc
index a4187c187cfb83c1bb86d69e26724494be1b9bb5..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));