]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/axis-group-engraver.cc
Revert "Issue 2990: \RemoveEmptyStaves in StaffGroup context crashes"
[lilypond.git] / lily / axis-group-engraver.cc
index a19ab52af89dcd0d52f74ec3e9e2922308322c89..c5dbb94e63eb1d912fe4b09c0b6d8977ee631dd0 100644 (file)
@@ -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")))