Hello,

This patch fixes issue 778 in the tracker.  If I should add a
regression test, I can do that.

Thanks,
Patrick
>From 5fa8f35cfeb215ba97af7a89cd77c5c31393fff8 Mon Sep 17 00:00:00 2001
From: Patrick McCarty <pnor...@gmail.com>
Date: Mon, 15 Jun 2009 18:35:47 -0700
Subject: [PATCH] Fix #778

* Read the default value of 'dot-count for Dots.
  This also permits user overrides to 'dot-count.

Signed-off-by: Patrick McCarty <pnor...@gmail.com>
---
 lily/dots-engraver.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lily/dots-engraver.cc b/lily/dots-engraver.cc
index 9d1af77..81f74c1 100644
--- a/lily/dots-engraver.cc
+++ b/lily/dots-engraver.cc
@@ -43,7 +43,7 @@ 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_property ("dot-count", d->get_property ("dot-count"));
       d->set_parent (note, Y_AXIS);
     }
 }
-- 
1.6.3.2

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to