Skip to content

Commit

Permalink
[MusicXML] fix harmonic import
Browse files Browse the repository at this point in the history
Backport of musescore#26801
  • Loading branch information
rettinghaus authored and Jojo-Schmitz committed Feb 27, 2025
1 parent 60ecc37 commit ddf41cd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions importexport/musicxml/importmxmlpass2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7843,15 +7843,16 @@ void MusicXMLParserNotations::harmonic()
notation.setSubType(name);
_e.skipCurrentElement(); // skip but don't log
}
else { // TODO: add artificial harmonic when supported by musescore
else if (name == "artificial") { // TODO: add artificial harmonic when supported by musescore
_logger->logError(QString("unsupported harmonic type/pitch '%1'").arg(name), &_e);
notation.setSymId(SymId::noSym);
_e.skipCurrentElement();
}
else
_e.skipCurrentElement();
}

if (!notation.subType().isEmpty()) {
_notations.push_back(notation);
}
_notations.push_back(notation);
}

//---------------------------------------------------------
Expand Down

0 comments on commit ddf41cd

Please sign in to comment.