From: Neil Puttock <n.puttock@gmail.com>
Date: Sun, 26 Sep 2010 00:46:20 +0000 (+0100)
Subject: Don't let fingerings hang around from skipped music.
X-Git-Tag: release/2.13.35-1~23
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=160d90150a4bfc35838213fdf8af66bb87b62309;p=lilypond.git

Don't let fingerings hang around from skipped music.

* 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
---

diff --git a/lily/fingering-engraver.cc b/lily/fingering-engraver.cc
index a79245cf6b..30cbcbb0c6 100644
--- a/lily/fingering-engraver.cc
+++ b/lily/fingering-engraver.cc
@@ -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 ();
 }