X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspan-arpeggio-engraver.cc;h=f66c8770b52333c9bbc23c19d9d3c01bbeb510a8;hb=66322a1a82d9586b56b3faee18588bbe04e82799;hp=049f4f2d65fbc13df23c9ace32b684c99537532c;hpb=5ab8335d106d736335698245af3c1b2b2455aed6;p=lilypond.git diff --git a/lily/span-arpeggio-engraver.cc b/lily/span-arpeggio-engraver.cc index 049f4f2d65..f66c8770b5 100644 --- a/lily/span-arpeggio-engraver.cc +++ b/lily/span-arpeggio-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2000--2012 Jan Nieuwenhuizen + Copyright (C) 2000--2015 Jan Nieuwenhuizen Han-Wen Nienhuys @@ -27,6 +27,8 @@ #include "side-position-interface.hh" #include "staff-symbol-referencer.hh" +#include "translator.icc" + /** Make arpeggios that span multiple staves. Catch arpeggios, and span a Span_arpeggio over them if we find more than two arpeggios. @@ -78,10 +80,8 @@ Span_arpeggio_engraver::process_acknowledged () */ if (!span_arpeggio_ && arpeggios_.size () > 1 && to_boolean (get_property ("connectArpeggios"))) - { - span_arpeggio_ = make_item ("Arpeggio", SCM_EOL); - span_arpeggio_->set_property ("cross-staff", SCM_BOOL_T); - } + span_arpeggio_ = make_item ("Arpeggio", SCM_EOL); + if (span_arpeggio_) { for (vsize i = 0; i < note_columns_.size (); i++) @@ -125,8 +125,6 @@ Span_arpeggio_engraver::stop_translation_timestep () note_columns_.clear (); } -#include "translator.icc" - ADD_ACKNOWLEDGER (Span_arpeggio_engraver, arpeggio); ADD_ACKNOWLEDGER (Span_arpeggio_engraver, note_column); ADD_TRANSLATOR (Span_arpeggio_engraver,