[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix issue 778
From: |
Neil Puttock |
Subject: |
Re: [PATCH] Fix issue 778 |
Date: |
Wed, 17 Jun 2009 22:41:24 +0100 |
2009/6/17 Han-Wen Nienhuys <address@hidden>:
> 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