gp-import: fixed wrong alterations with capo
This commit is contained in:
parent
d2ef9946b8
commit
40daa57fba
1 changed files with 1 additions and 1 deletions
|
@ -2173,7 +2173,7 @@ void GPConverter::setTpc(Note* note, int accidental)
|
|||
{ 11, 19 },
|
||||
};
|
||||
|
||||
if (accidental == GPNote::invalidAccidental) {
|
||||
if (note->staff()->capo({ 0, 1 }) != 0 || accidental == GPNote::invalidAccidental) {
|
||||
note->setTpcFromPitch();
|
||||
} else {
|
||||
int tone = (note->pitch() - accidental + 12) % 12;
|
||||
|
|
Loading…
Reference in a new issue