X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fglissando-engraver.cc;h=711bb1df81690d7df8d858825c122b1e2b56eec9;hb=8e427e706929b903b6b7d0c3c7858c95ccf72c77;hp=164b12a9f14f1523fc48bda2ba37cdc5cb370848;hpb=45a21c4f573971dc3643f7732e4ec0e27653002b;p=lilypond.git diff --git a/lily/glissando-engraver.cc b/lily/glissando-engraver.cc index 164b12a9f1..711bb1df81 100644 --- a/lily/glissando-engraver.cc +++ b/lily/glissando-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2000--2011 Jan Nieuwenhuizen + Copyright (C) 2000--2012 Jan Nieuwenhuizen LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -78,6 +78,9 @@ void Glissando_engraver::acknowledge_note_column (Grob_info info) { Grob *g = info.grob (); + if (to_boolean (g->get_property ("glissando-skip"))) + return; + if (stop_glissandi_) { extract_grob_set (g, "note-heads", note_heads); @@ -121,7 +124,7 @@ Glissando_engraver::acknowledge_note_column (Grob_info info) continue; int n1 = robust_scm2int (scm_car (candidate), -1); int n2 = robust_scm2int (scm_cdr (candidate), -1); - if ((n1 < 0) || (n2 < 0) || (size_t(n1) >= note_heads.size ())) + if ((n1 < 0) || (n2 < 0) || (size_t (n1) >= note_heads.size ())) continue; note_column_1.push_back (vsize (n1)); note_column_2.push_back (vsize (n2));