]> git.donarmstrong.com Git - lilypond.git/commitdiff
Don't let fingerings hang around from skipped music.
authorNeil Puttock <n.puttock@gmail.com>
Sun, 26 Sep 2010 00:46:20 +0000 (01:46 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Sun, 26 Sep 2010 00:47:28 +0000 (01:47 +0100)
* lily/fingering-engraver.cc (stop_translation_timestep):

  don't return prematurely if no fingerings have been created, since this
  allows listened events to build up from skipped music, resulting in
  the creation of extra fingerings on the first visible notehead

lily/fingering-engraver.cc

index a79245cf6bafe3d60beace7a28df705c92b328f2..30cbcbb0c626663fabef713970d8ca59c904e3b4 100644 (file)
@@ -141,9 +141,6 @@ Fingering_engraver::make_script (Direction d, Stream_event *r, int i)
 void
 Fingering_engraver::stop_translation_timestep ()
 {
-  if (!fingerings_.size ())
-    return;
-
   fingerings_.clear ();
   events_.clear ();
 }