Preserve accidental information in triplets processing

This commit is contained in:
Matthias Neeracher 2011-08-29 03:53:34 +02:00
parent e66a6fa230
commit e5347a3dd9

View File

@ -265,6 +265,8 @@ void VLMeasure::DecomposeNotes(const VLProperties & prop, VLNoteList & decompose
// Prefer further triplets
//
if (prevTriplets) {
prevVisual = (prevVisual & ~VLNote::kAccidentalsMask)
| (p.fVisual & VLNote::kAccidentalsMask);
if (p.fDuration >= 2*prevTripDur) {
p.fDuration = 2*prevTripDur;
if (prevTriplets == 1) {