From: Han-Wen Nienhuys Date: Tue, 11 Sep 2007 23:55:33 +0000 (+0200) Subject: Fix #323. X-Git-Tag: release/2.10.33-1~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f812c0e4d5c23f30446b86b116a13b60e1fb26e3;p=lilypond.git Fix #323. Clear avoid-slur for horizontal scripts. --- diff --git a/input/regression/script-horizontal-slur.ly b/input/regression/script-horizontal-slur.ly new file mode 100644 index 0000000000..a45b5c0c27 --- /dev/null +++ b/input/regression/script-horizontal-slur.ly @@ -0,0 +1,17 @@ +\version "2.11.20" + +\header { + texidoc = "Horizontal scripts don't have @code{avoid-slur} set." +} + +\layout { + ragged-right = ##t +} + +\relative c'' { + \set fingeringOrientations = #'(right) + < a-1 d-2>2 + < a-1 d-2>2 + < a-1 d-2>2( + < a-1 d-2>2) +} diff --git a/lily/new-fingering-engraver.cc b/lily/new-fingering-engraver.cc index dad711491c..1e3f8d2d91 100644 --- a/lily/new-fingering-engraver.cc +++ b/lily/new-fingering-engraver.cc @@ -248,7 +248,7 @@ New_fingering_engraver::position_scripts (SCM orientations, Grob *f = ft.script_; f->set_parent (ft.head_, X_AXIS); f->set_parent (ft.head_, Y_AXIS); - + f->set_property ("avoid-slur", SCM_BOOL_F); if (hordir == LEFT && unsmob_grob (ft.head_->get_object ("accidental-grob"))) Side_position_interface::add_support (f,