mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix issues with reading multi-section documents
This commit is contained in:
parent
bd59e9b4ab
commit
ae57182c77
|
@ -354,7 +354,7 @@ class MusicXMLListener
|
|||
case tag
|
||||
when 'attributes'
|
||||
if @prop != @props.last
|
||||
@props.push(@prop)
|
||||
@props.push(@prop.dup)
|
||||
end
|
||||
when 'note'
|
||||
if @chord
|
||||
|
|
|
@ -321,6 +321,10 @@ advanceAt:
|
|||
song->fMeasures[measNo].fBreak |= VLMeasure::kNewSystem;
|
||||
if ([[mdict objectForKey:@"new-page"] boolValue])
|
||||
song->fMeasures[measNo].fBreak |= VLMeasure::kNewPage;
|
||||
if (NSNumber * mPx = [mdict objectForKey:@"properties"])
|
||||
song->fMeasures[measNo].fPropIdx=
|
||||
static_cast<size_t>([mPx intValue]);
|
||||
|
||||
if (NSDictionary * beginRep = [mdict objectForKey:@"begin-repeat"]) {
|
||||
VLRepeat rep;
|
||||
VLRepeat::Ending ending(measNo, measNo, 0);
|
||||
|
|
Loading…
Reference in New Issue
Block a user