X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Flayout-beam.scm;h=f72afacf0dd1c8ffbcc5972ff760a40e375906e7;hb=26a04c1f923f384d3a36c571bb3ebcdb1aabda9b;hp=aa35be0d63eb2684f78562f0fcd9319025607d1c;hpb=54b02666750062788185bd3f99e644d621e348c2;p=lilypond.git diff --git a/scm/layout-beam.scm b/scm/layout-beam.scm index aa35be0d63..f72afacf0d 100644 --- a/scm/layout-beam.scm +++ b/scm/layout-beam.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2000--2011 Jan Nieuwenhuizen +;;;; Copyright (C) 2000--2012 Jan Nieuwenhuizen ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License as published by @@ -60,19 +60,15 @@ (define-public (check-quant-callbacks l r) - (list ly:beam::calc-least-squares-positions - ly:beam::slope-damping - ly:beam::shift-region-to-valid - ly:beam::quanting - (check-beam-quant l r) - )) + (lambda (grob) + ((check-beam-quant l r) + grob + (beam::place-broken-parts-individually grob)))) (define-public (check-slope-callbacks comparison) - (list ly:beam::calc-least-squares-positions - ly:beam::slope-damping - ly:beam::shift-region-to-valid - ly:beam::quanting - (check-beam-slope-sign comparison) - )) + (lambda (grob) + ((check-beam-slope-sign comparison) + grob + (beam::place-broken-parts-individually grob))))