]> git.donarmstrong.com Git - lilypond.git/commit
Issue 2990: \RemoveEmptyStaves in StaffGroup context crashes
authorDavid Kastrup <dak@gnu.org>
Sun, 23 Dec 2012 14:46:45 +0000 (15:46 +0100)
committerDavid Kastrup <dak@gnu.org>
Wed, 9 Jan 2013 06:52:01 +0000 (07:52 +0100)
commitd40362adfc1c3b24f466b7570e58f92885751019
treeae4f4f9ff6936064ebdcfef3c59a16174848b2ed
parent84cf69f7c840700a83ca6a9ae9e6b6f2e9f9f1f9
Issue 2990: \RemoveEmptyStaves in StaffGroup context crashes

The problem is caused by multiple axis group engravers, and in
particular nested VerticalAxisGroup grobs in connection with the
skyline code.  An extensive fix catching any recursive grob definition
will lead to quite more cryptic error messages rather than this
hand-tailored fix for the special case of VerticalAxisGroup nesting.

The solution chosen here is to complain when a VerticalAxisGroup is
announced from a subordinate context and let the current group commit
suicide.
lily/axis-group-engraver.cc