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

Identify system object staves on xml import #23310

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

miiizen
Copy link
Contributor

@miiizen miiizen commented Jun 20, 2024

When a system level element is read, the stave is added to the score's list of system object staves. System objects are added at the very end of score reading, so we can be sure that all system object staves have been identified.
In the example below, the tempo text was only included on the first stave in the XML, while the rehearsal mark was included on both staves. This turns the piano stave into a system object stave, so the tempo text is duplicated there as well.
Screenshot 2024-06-20 at 09 35 32

@oktophonie oktophonie self-requested a review June 20, 2024 11:27
@oktophonie oktophonie requested a review from mike-spa June 24, 2024 13:01
@mike-spa mike-spa merged commit 4c65e42 into musescore:master Jun 25, 2024
11 checks passed
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.

None yet

3 participants