Erik Sandberg schreef:
On Monday 22 May 2006 11:47, Han-Wen Nienhuys wrote:
Erik Sandberg schreef:
+  if (start_moment_.main_part_.is_infinity () && start_moment_ < 0)
+    start_moment_ = now;
+
I don't understand. What is this for?

I remember now.

When I streamified Score::Prepare, I introduced a new convention: Before iteration starts, the current moment is set to -inf. (I think it was 0 before, which is confusing if a piece starts with grace notes).

With this convention, the above lines are required because the part-combiner's start_moment_ is set in construct_children, which might be called before iteration starts. I suspect this fixes a bug that nobody has found yet.

ok, sounds good. Can you document in a comment?


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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

Reply via email to