X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fcustos-engraver.cc;h=46c82969c60fc7a89f35082eed9876fef7c65bf8;hb=cd93507bb0b0559c7d916c1b19d7ac1f83d1cc8e;hp=ed50050923d1a61dda4c84ab526382ea0923b866;hpb=2246ad52dd3535de56cf07ea5dbc7c51ad8cfc68;p=lilypond.git diff --git a/lily/custos-engraver.cc b/lily/custos-engraver.cc index ed50050923..46c82969c6 100644 --- a/lily/custos-engraver.cc +++ b/lily/custos-engraver.cc @@ -25,7 +25,6 @@ class Custos_engraver : public Engraver { public: TRANSLATOR_DECLARATIONS( Custos_engraver); - virtual void start_translation_timestep (); virtual void acknowledge_grob (Grob_info); virtual void process_acknowledged_grobs (); virtual void stop_translation_timestep (); @@ -47,22 +46,17 @@ Custos_engraver::Custos_engraver () void Custos_engraver::stop_translation_timestep () -{ - /* - delay typeset until we're at the next moment, so we can silence custodes at the end of the piece. - */ -} - -void -Custos_engraver::start_translation_timestep () { for (int i = custodes_.size (); i--;) { typeset_grob (custodes_[i]); } - custodes_.clear (); - pitches_.clear (); + /* + delay clear until we're at the next moment, so we can silence + custodes at the end of the piece. + */ + pitches_.clear (); custos_permitted = false; } @@ -139,7 +133,6 @@ Custos_engraver::finalize () for (int i = custodes_.size (); i--;) { custodes_[i]->suicide (); - typeset_grob (custodes_[i]); } custodes_.clear (); }