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

fix #66061: corruption on new score with adjactent pairs of linked st… #2084

Merged

Conversation

MarcSabatella
Copy link
Contributor

…aves

Before the big change to new score creation (for templates) back in March, this section of code differentiated between primaryStaff() and others. It no longer does, but needs to here. Probably the code for the pickup measure could be simplified with some restructuring, but my change has the advantage of being safe, I think.

@MarcSabatella
Copy link
Contributor Author

Rather than rely on prinmaryStaff() - which doesn't necessarily choose the topmost linked staff of a set - I am now explicitly checking if this staff is linked to the previous. It does actually simplify the code a little too.

@MarcSabatella MarcSabatella force-pushed the 66061-adjacent-linked-parts-rest branch from 80401a3 to 9872bc0 Compare June 22, 2015 16:36
lasconic added a commit that referenced this pull request Jun 22, 2015
…ts-rest

fix #66061: corruption on new score with adjactent pairs of linked st…
@lasconic lasconic merged commit 669d7a2 into musescore:master Jun 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants