/*
We can't combine with previous function, since check concave and
slope damping comes first.
+
+TODO: we should use the concaveness to control the amount of damping
+applied.
+
*/
MAKE_SCHEME_CALLBACK (Beam, shift_region_to_valid, 1);
SCM
(dot (ly:find-glyph-by-name font "dots-dot"))
(dotwid (interval-length (ly:molecule-get-extent dot X)))
(dots (if (> dot-count 0)
- (ly:molecule-add
+ (apply ly:molecule-add
(map (lambda (x)
(ly:molecule-translate-axis
dot (* (+ 1 (* 2 x)) dotwid) X) )