Skip to content

Commit

Permalink
fix #65116: Metronome is wrong if 4/4 after 2/2 (equivalent time sign…
Browse files Browse the repository at this point in the history
…ature)
  • Loading branch information
lasconic committed Jun 13, 2015
1 parent 85b0ef0 commit 3f62bff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions libmscore/score.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,10 +562,11 @@ void Score::fixTicks()
}
// }

//
// update time signature map
//
if (!parentScore() && (m->len() != sig)) {
// create event if measure len and time signature are different
// even if they are equivalent 4/4 vs 2/2
if (!parentScore() && ((m->len().numerator() != sig.numerator())
|| (m->len().denominator() != sig.denominator()))) {
sig = m->len();
smap->add(tick, SigEvent(sig, m->timesig(), m->no()));
}
Expand Down

0 comments on commit 3f62bff

Please sign in to comment.