]> git.donarmstrong.com Git - lilypond.git/commitdiff
(acknowledge_grob): add note-column
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 19 Apr 2005 13:22:20 +0000 (13:22 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 19 Apr 2005 13:22:20 +0000 (13:22 +0000)
also to finished cresc as right bound. This fixes:
skip-string-decresc.ly

ChangeLog
lily/dynamic-engraver.cc

index c983d113ce742b3b479db241e3fa08531011d119..b4a06152e70d48bc8d675a5f13470fd6760a4312 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-04-19  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * 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 78d200b41e3f7796b403e9d22986d600547a8e5c..7a7c9c9dc5feb3fc49422a39c73ecde6f59a40b3 100644 (file)
@@ -384,12 +384,22 @@ Dynamic_engraver::acknowledge_grob (Grob_info info)
            script_->set_parent (unsmob_grob (scm_car (head)), X_AXIS);
        }
 
-      if (cresc_ && !cresc_->get_bound (LEFT))
+      if (cresc_)
+       {
+         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_)
        {
-         cresc_->set_bound (LEFT, info.grob_);
-         add_bound_item (line_spanner_, cresc_->get_bound (LEFT));
+         finished_cresc_->set_bound (RIGHT, info.grob_);
        }
     }
+  
   else if (Script_interface::has_interface (info.grob_) && script_)
     {
       SCM p = info.grob_->get_property ("script-priority");