]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.33
authorfred <fred>
Tue, 26 Mar 2002 22:46:53 +0000 (22:46 +0000)
committerfred <fred>
Tue, 26 Mar 2002 22:46:53 +0000 (22:46 +0000)
lily/paper-score.cc

index 6bd6e33e0507530b68c9ffeed23e343ef72bb4ec..b062978633db4145e2fd065be927685bceafaee2 100644 (file)
@@ -225,6 +225,11 @@ Paper_score::fixup_refpoints ()
        {
          Score_element * se = unsmob_element (e);
          se->fixup_refpoint ();
+
+         if (!dynamic_cast<Line_of_score*> (se) && !se->parent_l (Y_AXIS))
+           {
+             programming_error ("No parent!");
+           }
        }
     }
 }