]> git.donarmstrong.com Git - lilypond.git/commitdiff
only inspect tieWaitForNote if necessary.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 4 Jan 2007 17:38:19 +0000 (18:38 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 4 Jan 2007 17:38:19 +0000 (18:38 +0100)
lily/tie-engraver.cc

index 591f03f84c6d33c27762d33e547bdd5de84dd4be..9efe4784dc71a16da36a53ba484bc68bd85af1b9 100644 (file)
@@ -159,8 +159,8 @@ Tie_engraver::start_translation_timestep ()
 {
   context ()->set_property ("tieMelismaBusy",
                            ly_bool2scm (heads_to_tie_.size ()));
-  
-  if (!to_boolean (get_property ("tieWaitForNote")))
+
+  if (heads_to_tie_.size () && !to_boolean (get_property ("tieWaitForNote")))
     {
       Moment now = now_mom ();
       for (vsize i = heads_to_tie_.size ();  i--; )