From e498d35d195466a7a79fe0ffe90f9df3b7e273a9 Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Wed, 18 Jan 2012 08:31:07 +0100 Subject: [PATCH] Removes vertical sort of bar lines from the SpanBar engraver. This removes the programming error for BarLines whose Y-pedigree cannot yet be traced to a VerticalAlignment without having an impact on the ordering of grobs in the vector, as events from contexts are signaled to engravers in a sorted (up to down) fashion. --- lily/span-bar-engraver.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/lily/span-bar-engraver.cc b/lily/span-bar-engraver.cc index bf82ac636f..dc22f90484 100644 --- a/lily/span-bar-engraver.cc +++ b/lily/span-bar-engraver.cc @@ -69,9 +69,6 @@ Span_bar_engraver::process_acknowledged () { if (make_spanbar_) { - Grob *vag = Grob::get_root_vertical_alignment (bars_[0]); - if (vag) - vector_sort (bars_, Grob::pure_vertical_less); spanbar_ = make_item ("SpanBar", SCM_EOL); spanbar_->set_parent (bars_[0], X_AXIS); -- 2.39.2