summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2007-09-12 01:55:33 +0200
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2007-09-12 01:55:33 +0200
commitdfa24e0cf5031563fef2e374684296040b35c43e (patch)
tree91060a7358571d655f6897fef87107034caf500a
parent73d8c2b35d692409b1c59dbd5edee82e21018b99 (diff)
Fix #323.
Clear avoid-slur for horizontal scripts.
-rw-r--r--input/regression/script-horizontal-slur.ly17
-rw-r--r--lily/new-fingering-engraver.cc2
2 files changed, 18 insertions, 1 deletions
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 a4e05dadbf..1aaa6a04eb 100644
--- a/lily/new-fingering-engraver.cc
+++ b/lily/new-fingering-engraver.cc
@@ -249,7 +249,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,