summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McCarty <pnorcks@gmail.com>2009-06-15 18:35:47 -0700
committerNeil Puttock <n.puttock@gmail.com>2009-06-19 23:38:56 +0100
commite250418726915135efdc341cbc32527f01e14943 (patch)
treee7f8a847b4ec11dc947812539a087cf9397da267
parent6e1c4363e86353589fe3a9a7f3107306b9f0718a (diff)
Fix #778
* Do not set 'dot-count in Dots_engraver, since Dots already has a callback for this property. This also permits user overrides to 'dot-count. Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
-rw-r--r--input/regression/dot-dot-count-override.ly15
-rw-r--r--lily/dots-engraver.cc1
2 files changed, 15 insertions, 1 deletions
diff --git a/input/regression/dot-dot-count-override.ly b/input/regression/dot-dot-count-override.ly
new file mode 100644
index 0000000000..ce8fe64b90
--- /dev/null
+++ b/input/regression/dot-dot-count-override.ly
@@ -0,0 +1,15 @@
+\version "2.13.2"
+
+\header {
+ texidoc = "The @code{dot-count} property
+for @code{Dots} can be modified by the user."
+
+}
+
+\relative c'' {
+ c4.. a16
+ \override Dots #'dot-count = #4
+ g4.. e16
+ \override Dots #'dot-count = #0
+ c4. r8 r2
+}
diff --git a/lily/dots-engraver.cc b/lily/dots-engraver.cc
index 9d1af7779b..11b384749a 100644
--- a/lily/dots-engraver.cc
+++ b/lily/dots-engraver.cc
@@ -43,7 +43,6 @@ Dots_engraver::acknowledge_rhythmic_head (Grob_info gi)
Item *d = make_item ("Dots", note->self_scm ());
Rhythmic_head::set_dots (note, d);
- d->set_property ("dot-count", scm_from_int (dur->dot_count ()));
d->set_parent (note, Y_AXIS);
}
}