]> git.donarmstrong.com Git - lilypond.git/commitdiff
Removes vertical sort of bar lines from the SpanBar engraver.
authorMike Solomon <mike@apollinemike.com>
Wed, 18 Jan 2012 07:31:07 +0000 (08:31 +0100)
committerDavid Kastrup <dak@gnu.org>
Wed, 18 Jan 2012 11:50:19 +0000 (12:50 +0100)
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

index bf82ac636fce0e1ff60d54aa7c8e8695cebca00b..dc22f904844af91e488aea7eacb03e7ed558abf2 100644 (file)
@@ -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);