]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ambitus-engraver.cc
Issue 4333: Cue notes should not be included in ambitus
[lilypond.git] / lily / ambitus-engraver.cc
index 0a76267c7edb3c58c36afb2f56a7b611e0ca0fd7..58716c3ccf795a1b9c6e3f6412ac06f4a43b2b67 100644 (file)
@@ -136,7 +136,8 @@ void
 Ambitus_engraver::acknowledge_note_head (Grob_info info)
 {
   Stream_event *nr = info.event_cause ();
-  if (nr && nr->in_event_class ("note-event"))
+  if (nr && nr->in_event_class ("note-event")
+      && !to_boolean (info.grob ()->get_property ("ignore-ambitus")))
     {
       SCM p = nr->get_property ("pitch");
       /*