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 #280050: allow cross-measure beams #4472

Merged
merged 1 commit into from
Dec 24, 2018

Conversation

dmitrio95
Copy link
Contributor

This PR tries to return support for cross-measure beams in MuseScore (see this issue). I tried to change as little as possible in layout of beams in all other cases, probably the only change that can potentially change something for them is this one. However there are some difficulties with cross-measure beams as a large part of beams layout takes place on measure layout stage, when no information about systems is reliably available. For that reason I added the same initial layout of cross-measure beams to measure layout stage and break these beams if the corresponding measures happen to be situated in different systems. I don't know whether there are some layout bugs possible because of this change but these will probably concern only some beats involved in cross-measure beams.

@MarcSabatella
Copy link
Contributor

Just eyeballing the code, I like the approach, and it feels like this would be a good basis for eventually supporting them cross-system as well: just change "breakCrossMeasureBeams" to "fixCrossMeasureBeams" :-)

@anatoly-os anatoly-os merged commit 7643185 into musescore:master Dec 24, 2018
@dmitrio95 dmitrio95 deleted the 280050-cross-measure-beam branch June 3, 2020 09:46
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

3 participants