X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Flayout-beam.scm;h=9f1840dd33d3197007467a45f7f2f0e374651b1e;hb=56cb2f30d1da32759b82a7820fd0d32e368bc973;hp=ef5cde47788bb246dcabda9f1e615787636722b4;hpb=77cc001961a4931c002128b34638f69c082b9102;p=lilypond.git diff --git a/scm/layout-beam.scm b/scm/layout-beam.scm index ef5cde4778..9f1840dd33 100644 --- a/scm/layout-beam.scm +++ b/scm/layout-beam.scm @@ -28,10 +28,8 @@ (begin (ly:warning (_ "Error in beam quanting. Expected (~S,~S) found ~S.") want-l want-r posns) - (set! (ly:grob-property beam 'quant-score) - (format "(~S,~S)" want-l want-r))) - (set! (ly:grob-property beam 'quant-score) "")) - + (set! (ly:grob-property beam 'annotation) + (format "(~S,~S)" want-l want-r)))) posns )) @@ -40,15 +38,13 @@ "Check whether the slope of BEAM is correct wrt. COMPARISON." (let* ((slope-sign (- (cdr posns) (car posns))) (correct (comparison slope-sign 0))) - (if (not correct) (begin (ly:warning (_ "Error in beam quanting. Expected ~S 0, found ~S.") - (procedure-name comparison) "0" slope-sign) - (set! (ly:grob-property beam 'quant-score) + (procedure-name comparison) slope-sign) + (set! (ly:grob-property beam 'annotation) (format "~S 0" (procedure-name comparison)))) - - (set! (ly:grob-property beam 'quant-score) "")) + (set! (ly:grob-property beam 'annotation) "")) posns))