]> git.donarmstrong.com Git - lilypond.git/commitdiff
Revert "Issue 2990: \RemoveEmptyStaves in StaffGroup context crashes"
authorDavid Kastrup <dak@gnu.org>
Thu, 31 Oct 2013 19:03:28 +0000 (20:03 +0100)
committerDavid Kastrup <dak@gnu.org>
Sat, 2 Nov 2013 13:41:12 +0000 (14:41 +0100)
This reverts commit d40362adfc1c3b24f466b7570e58f92885751019.

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")))