]> git.donarmstrong.com Git - lilypond.git/commitdiff
''
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 2 Apr 2002 12:34:02 +0000 (12:34 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 2 Apr 2002 12:34:02 +0000 (12:34 +0000)
ChangeLog
Documentation/regression-test.tely
lily/note-spacing.cc
scm/grob-description.scm

index 68b331b8fd425b339a797ee931bfaaf00922b4f0..0fe621b8a9f7ab4adc0a4a5f95a5c5b313b69c60 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-04-02  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * lily/note-spacing.cc (stem_dir_correction): only do
+       beam-correction if a beam is there. 
+
        * lily/stem.cc (duration_log): change from flag_i (); better
        naming.
        (get_default_stem_end_position): fix dot/flag collision code.
index c730a883669c01ef0574d917ab1079f902f6f6bc..c388e4ce2e76e8bc43098d1d94f83df1e30ad0ac 100644 (file)
@@ -41,7 +41,6 @@ documenting bugfixes.
 
 @lilypondfile[printfilename]{rest-pitch.ly}
 
-
 @section Dots
 
 @lilypondfile[printfilename]{dots.ly}
index 314d2dd5bdce96d40097e07bc73f5e68849fd7e8..fee2bb8b0703286822e2f4626b24651743eca54c 100644 (file)
@@ -311,7 +311,7 @@ Note_spacing::stem_dir_correction (Grob*me, Item * rcolumn,
   
   if (correct &&stem_dirs[LEFT] *stem_dirs[RIGHT] == -1)
     {
-      if (beams_drul[LEFT] == beams_drul[RIGHT])
+      if (beams_drul[LEFT] && beams_drul[LEFT] == beams_drul[RIGHT])
        {
          /*
            this is a knee: maximal correction.
index 45644a2fd3399f24156415a9297bb47ab32eb6d0..7244f1f54d0ff6b56049a6b8beb624f1ca5f841a 100644 (file)
     (NoteSpacing
      . (
        (stem-spacing-correction . 0.5)
-       (space-factor . 1.0)
        (meta . ((interfaces . (note-spacing-interface))))
        ))