From e5347a3dd9646b4883d19e179f3279873ffc76c4 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Mon, 29 Aug 2011 03:53:34 +0200 Subject: [PATCH] Preserve accidental information in triplets processing --- Sources/VLModel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/VLModel.cpp b/Sources/VLModel.cpp index 3539acc..8d76d74 100644 --- a/Sources/VLModel.cpp +++ b/Sources/VLModel.cpp @@ -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) {