forked from musescore/MuseScore
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENG-17: Fix beams in multi-voice MusicXML import
The presence of a second voice would prematurely break beams upon MusicXML import in some cases, as only one beam was stored at a time as the "current beam", and this would get thrown away if a note in another voice/track was handled before the end of a beam. This commit adds a QMap to store one beam *per voice* at a time, avoiding the conflict while retaining the existing logic.
- Loading branch information
1 parent
0611279
commit acdedb6
Showing
2 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters