From: Han-Wen Nienhuys Date: Thu, 4 Jan 2007 17:38:19 +0000 (+0100) Subject: only inspect tieWaitForNote if necessary. X-Git-Tag: release/2.11.9-1~39 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8b9ca2eb26aa6de6b1b4d598c6367e6b3a955790;p=lilypond.git only inspect tieWaitForNote if necessary. --- diff --git a/lily/tie-engraver.cc b/lily/tie-engraver.cc index 591f03f84c..9efe4784dc 100644 --- a/lily/tie-engraver.cc +++ b/lily/tie-engraver.cc @@ -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--; )