Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't add redundant instrument changes on XML import #23286

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

miiizen
Copy link
Contributor

@miiizen miiizen commented Jun 18, 2024

If a part has multiple instruments, but these are mapped to the same instrument template we shouldn't create redundant instrument changes.

@@ -565,6 +565,9 @@ TEST_F(Musicxml_Tests, dsalCodaMisplaced) {
TEST_F(Musicxml_Tests, durationLargeErrorMscx) {
mxmlImportTestRef("testDurationLargeError");
}
TEST_F(Musicxml_Tests, duplicateInstrChange) {
mxmlImportTestRef("testDuplicateInstrChange");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not keeping the tests in alphabetical order?

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Jun 19, 2024
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Jun 19, 2024
@oktophonie oktophonie requested a review from mike-spa June 19, 2024 08:37
@mike-spa mike-spa merged commit ecec091 into musescore:master Jun 19, 2024
11 checks passed
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

4 participants