]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.1.31.jcn1: Re: LilyPond 1.1.30
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 17 Feb 1999 13:29:35 +0000 (14:29 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 17 Feb 1999 13:29:35 +0000 (14:29 +0100)
pl 31.jcn1
- bf: slur-follow-music

NEWS
VERSION
lily/slur.cc

diff --git a/NEWS b/NEWS
index a1ec9abbfb99e1f043acfbb059711bd84f667692..3a4625f0a36c25df0810d3d9233f2e8bfb5923b4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+pl 31.jcn1
+       - bf: slur-follow-music
 
 pl 30.jcn1
        - sm fixes, intl/ fixes
diff --git a/VERSION b/VERSION
index 54f1f0b60f07d75afa030db451a4c37b963f8223..f8e84f715261942c5b6e55bd522b0fbb4890fc34 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=1
 PATCH_LEVEL=31
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index d0270a4facd0b796703960a5068960c39de62182..552c3837386baf459fa44c2de0897a65cbd769f9 100644 (file)
@@ -122,6 +122,8 @@ Slur::do_post_processing ()
 
   Direction d=LEFT;
  
+#define BROKEN_SLUR_b(dir) \
+  (extrema[dir] != spanned_drul_[d])
 #define NORMAL_SLUR_b(dir) \
   (extrema[dir]->stem_l_ \
    && !extrema[dir]->stem_l_->transparent_b_  \
@@ -129,10 +131,7 @@ Slur::do_post_processing ()
 
   do 
     {
-      /*
-        broken slur
-       */
-      if (extrema[d] != spanned_drul_[d]) 
+      if (BROKEN_SLUR_b (d))
        {
          // ugh -- check if needed
          dx_f_drul_[d] = -d 
@@ -180,10 +179,7 @@ Slur::do_post_processing ()
   // now that both are set, do dependent
   do 
     {
-      /*
-        broken slur
-       */
-      if (extrema[d] != spanned_drul_[d]) 
+      if (BROKEN_SLUR_b (d))
         {
          Direction u = d;
          flip(&u);
@@ -200,7 +196,8 @@ Slur::do_post_processing ()
   /*
     Slur should follow line of music
    */
-  if (NORMAL_SLUR_b (LEFT) && NORMAL_SLUR_b (RIGHT)
+  if (!BROKEN_SLUR_b (LEFT) && !BROKEN_SLUR_b (RIGHT)
+      && NORMAL_SLUR_b (LEFT) && NORMAL_SLUR_b (RIGHT)
       && (extrema[LEFT]->stem_l_ != extrema[RIGHT]->stem_l_))
     {
       Real note_dy = extrema[RIGHT]->stem_l_->head_positions ()[dir_]