2004-03-31 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/part-combine-iterator.cc (construct_children): add
+ start_moment_ member.
+
* lily/chord-tremolo-engraver.cc (acknowledge_grob): trigger
stem-tremolo by stem object. This fixes no stem for tremolo bug.
if ((*splitm + start_moment_) > now)
break ;
- *splitm += start_moment_;
SCM tag = gh_cdar (split_list_);
Direction d = to_dir (tag);
private:
Music_iterator * first_iter_;
Music_iterator * second_iter_;
+ Moment start_moment_;
SCM split_list_;
void
Part_combine_iterator::construct_children ()
{
+ start_moment_ = get_outlet ()->now_mom ();
split_list_ = get_music ()->get_property ("split-list");
SCM lst = get_music ()->get_property ("elements");
for (; gh_pair_p (split_list_); split_list_ = gh_cdr (split_list_))
{
splitm = unsmob_moment (gh_caar (split_list_));
- if (*splitm > now)
+ if (splitm && *splitm + start_moment_ > now)
break ;
SCM tag = gh_cdar (split_list_);