2009/6/17 Han-Wen Nienhuys <[email protected]>:
> I think this can be neater. By tracking the 'cause property
> backwards, this could simply be a grob property callback, and the C++
> does not need to touch the
> 'dot-count property.
We already have the callback, as I pointed out in the other thread:
dots::calc-dot-count.
Patrick, all you need to do is remove this line, since the callback
will furnish the correct value for 'dot-count as required:
d->set_property ("dot-count", scm_from_int (dur->dot_count ()));
A regression test would be useful to show that the override actually works.
Regards,
Neil
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel