From 3901f66c1c7db858e1399594f7dc27164ae43bfb Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Thu, 31 Oct 2013 20:03:28 +0100 Subject: [PATCH] Revert "Issue 2990: \RemoveEmptyStaves in StaffGroup context crashes" This reverts commit d40362adfc1c3b24f466b7570e58f92885751019. --- lily/axis-group-engraver.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lily/axis-group-engraver.cc b/lily/axis-group-engraver.cc index a19ab52af8..c5dbb94e63 100644 --- a/lily/axis-group-engraver.cc +++ b/lily/axis-group-engraver.cc @@ -105,16 +105,6 @@ Axis_group_engraver::finalize () void Axis_group_engraver::acknowledge_grob (Grob_info i) { - if (!staffline_) - return; - if (i.grob ()->name () == "VerticalAxisGroup") { - i.grob ()->programming_error ("duplicate axis group"); - if (staffline_->is_live ()) - staffline_->suicide (); - staffline_ = 0; - elts_.clear (); - return; - } elts_.push_back (i.grob ()); if (staffline_ && to_boolean(staffline_->get_property("remove-empty"))) -- 2.39.5