-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix #307530: MusicXML export for hidden staves #11953
Fix #307530: MusicXML export for hidden staves #11953
Conversation
Thanks for the fix! Could you add a unit test to check this fix? You can use this PR as an example: |
9b55b6f
to
8464954
Compare
src/importexport/musicxml/internal/musicxml/importmxmlpass2.cpp
Outdated
Show resolved
Hide resolved
8464954
to
e41c7ed
Compare
I'll fix the unit tests tomorrow |
It'll be an easy fix |
e41c7ed
to
d2c217a
Compare
src/importexport/musicxml/internal/musicxml/importmxmlpass2.cpp
Outdated
Show resolved
Hide resolved
d2c217a
to
c6dc78c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! While testing I noticed a very strange problem with hiding staves after a MusicXML file has been imported into MuseScore, but the problem already exists in the nightly builds so I created a separate issue for it (see #12186). I think this one is ready to merge as-is.
Backport of musescore#11953 Mu3 doesn't allow for staves to get hidden, only parts, so needed to adjust the mtest file
Backport of musescore#11953 Mu3 doesn't allow for staves to get hidden, only parts, at least that is what I guess to be the reason for the mtest failure, so need to adjust the newly added mtest file Allso need to fix another mtest file, see d842fce, b8a0361 and f36f842
Backport of musescore#11953 Mu3 doesn't allow for staves to get hidden, only parts, at least that is what I guess to be the reason for the mtest failure, so need to adjust the newly added mtest file Also need to fix another mtest file which doesn't exist in Mu4, as it stems from (the backport of) musescore#8763, part 2, which never got ported to master.
Backport of musescore#11953 Mu3 doesn't allow for staves to get hidden, only parts, at least that is what I guess to be the reason for the mtest failure, so need to adjust the newly added mtest file Also need to fix another mtest file which doesn't exist in Mu4, as it stems from (the backport of) musescore#8763, part 2, which never got ported to master.
Resolves: #307530
@shoogle FYI