From: fred Date: Tue, 26 Mar 2002 22:46:53 +0000 (+0000) Subject: lilypond-1.3.33 X-Git-Tag: release/1.5.59~1832 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=84436e859b1048f6858dd6c440aa592b9ad338fd;p=lilypond.git lilypond-1.3.33 --- diff --git a/lily/paper-score.cc b/lily/paper-score.cc index 6bd6e33e05..b062978633 100644 --- a/lily/paper-score.cc +++ b/lily/paper-score.cc @@ -225,6 +225,11 @@ Paper_score::fixup_refpoints () { Score_element * se = unsmob_element (e); se->fixup_refpoint (); + + if (!dynamic_cast (se) && !se->parent_l (Y_AXIS)) + { + programming_error ("No parent!"); + } } } }