clone input events; otherwise we may overwrite input 'duration property.
2006-10-20 Han-Wen Nienhuys <hanwen@lilypond.org>
+ * lily/completion-note-heads-engraver.cc (process_music): always
+ clone input events; otherwise we may overwrite input 'duration property.
+
* lily/general-scheme.cc (LY_DEFINE): explicit cast in case
scm_t_int32 != int
Trent Johnston
Trevor Bača
Vaclav Smilauer
+Vicente Solsona Dellá
Werner Lemberg
Will Oram
Zoltan V. Laszlo
scratch_note_events_.push_back (m);
}
}
-
+ else
+ {
+ for (vsize i = 0; i < note_events_.size (); i++)
+ {
+ Stream_event *c = note_events_[i]->clone ();
+ scratch_note_events_.push_back (c);
+ }
+ }
+
for (vsize i = 0; left_to_do_ && i < note_events_.size (); i++)
{
Stream_event *event = note_events_[i];