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 not accurate conversion of ChordRest in Beam::layout2 #4020

Merged
merged 1 commit into from
Oct 11, 2018

Conversation

dmitrio95
Copy link
Contributor

This pull request fixed assertion failure on opening the score discussed in this issue. The score opens well on release builds and fails for debug builds of MuseScore as the code in Beam::layout2 contains a not very accurate conversion of ChordRest to a Chord which is done before actually checking the type. The proposed commit just makes the relevant code chunk a bit more clear thus fixing an assertion failure for debug builds.

@anatoly-os anatoly-os merged commit c5ce141 into musescore:master Oct 11, 2018
@dmitrio95 dmitrio95 deleted the 110181-fix-assertion-failure branch October 12, 2018 07:58
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.

2 participants