CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Branch:         
Changes by:     Han-Wen Nienhuys <[EMAIL PROTECTED]>    05/04/19 13:22:20

Modified files:
        .              : ChangeLog 
        lily           : dynamic-engraver.cc 

Log message:
        (acknowledge_grob): add note-column
        also to finished cresc as right bound. This fixes:
        skip-string-decresc.ly

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.3475&tr2=1.3476&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/dynamic-engraver.cc.diff?tr1=1.164&tr2=1.165&r1=text&r2=text

Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.3475 lilypond/ChangeLog:1.3476
--- lilypond/ChangeLog:1.3475   Tue Apr 19 13:11:25 2005
+++ lilypond/ChangeLog  Tue Apr 19 13:22:19 2005
@@ -1,5 +1,9 @@
 2005-04-19  Han-Wen Nienhuys  <[EMAIL PROTECTED]>
 
+       * lily/dynamic-engraver.cc (acknowledge_grob): add note-column
+       also to finished cresc as right bound. This fixes:
+       skip-string-decresc.ly
+
        * lily/slur-scoring.cc (get_bound_info): robustness: substitute
        relative_coordinate if extent is empty.
 
Index: lilypond/lily/dynamic-engraver.cc
diff -u lilypond/lily/dynamic-engraver.cc:1.164 
lilypond/lily/dynamic-engraver.cc:1.165
--- lilypond/lily/dynamic-engraver.cc:1.164     Tue Apr 12 22:49:28 2005
+++ lilypond/lily/dynamic-engraver.cc   Tue Apr 19 13:22:20 2005
@@ -384,12 +384,22 @@
            script_->set_parent (unsmob_grob (scm_car (head)), X_AXIS);
        }
 
-      if (cresc_ && !cresc_->get_bound (LEFT))
+      if (cresc_)
        {
-         cresc_->set_bound (LEFT, info.grob_);
-         add_bound_item (line_spanner_, cresc_->get_bound (LEFT));
+         if (!cresc_->get_bound (LEFT))
+           {
+             cresc_->set_bound (LEFT, info.grob_);
+             add_bound_item (line_spanner_, cresc_->get_bound (LEFT));
+           }
+         cresc_->set_bound (RIGHT, info.grob_);
+       }
+
+      if (finished_cresc_)
+       {
+         finished_cresc_->set_bound (RIGHT, info.grob_);
        }
     }
+  
   else if (Script_interface::has_interface (info.grob_) && script_)
     {
       SCM p = info.grob_->get_property ("script-priority");


_______________________________________________
Lilypond-cvs mailing list
Lilypond-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-cvs

Reply via email to