Skip to content

Commit

Permalink
fix #41436: Corrupted notes when transposing imported .ove
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Dec 20, 2014
1 parent 1f5915e commit a21d613
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mscore/importove.cpp
Expand Up @@ -1486,6 +1486,7 @@ void OveToMScore::convertNotes(Measure* measure, int part, int staff, int track)
int absLine = (int) clefMiddleTone + clefMiddleOctave * OCTAVE + oveNote->getLine();
int tone = absLine % OCTAVE;
int alter = accidentalToAlter(oveNote->getAccidental());
note->setTpcFromPitch();
note->setTpc(step2tpc(tone, AccidentalVal(alter)));

note->setHeadGroup(getHeadGroup(oveNote->getHeadType()));
Expand Down

0 comments on commit a21d613

Please sign in to comment.