+2006-09-01 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * lily/tie-engraver.cc (stop_translation_timestep): only wipe
+ heads_to_tie_ if there are new heads to tie. Fixes polyphony in ties.
+
2006-08-28 Han-Wen Nienhuys <hanwen@lilypond.org>
- * lily/tie-engraver.cc (stop_translation_timestep): robustness for ambiti.
+ * lily/tie-engraver.cc (stop_translation_timestep): robustness for
+ ambituses.
* lily/all-font-metrics.cc: remove TFM support.
tie_column_ = 0;
}
- if (!wait)
- heads_to_tie_.clear ();
+ vector<Head_event_tuple> new_heads_to_tie;
for (vsize i = 0; i < now_heads_.size (); i++)
{
}
event_tup.end_moment_ = end;
- heads_to_tie_.push_back (event_tup);
+ new_heads_to_tie.push_back (event_tup);
}
}
+ if (!wait && new_heads_to_tie.size ())
+ heads_to_tie_.clear ();
+
+ // hmmm, how to do with copy() ?
+ for (vsize i = 0; i < new_heads_to_tie.size (); i++)
+ heads_to_tie_.push_back (new_heads_to_tie[i]);
+
event_ = 0;
now_heads_.clear ();
}