From: Han-Wen Nienhuys Date: Tue, 19 Apr 2005 13:22:20 +0000 (+0000) Subject: (acknowledge_grob): add note-column X-Git-Tag: release/2.5.21~35 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a098885c8dfe6d03c4a539c5dfffa050061a408a;p=lilypond.git (acknowledge_grob): add note-column also to finished cresc as right bound. This fixes: skip-string-decresc.ly --- diff --git a/ChangeLog b/ChangeLog index c983d113ce..b4a06152e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-04-19 Han-Wen Nienhuys + * 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. diff --git a/lily/dynamic-engraver.cc b/lily/dynamic-engraver.cc index 78d200b41e..7a7c9c9dc5 100644 --- a/lily/dynamic-engraver.cc +++ b/lily/dynamic-engraver.cc @@ -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");