diff --git a/Filters/VLMusicXMLType.reader b/Filters/VLMusicXMLType.reader index 63cc4de..3c9f9e0 100755 --- a/Filters/VLMusicXMLType.reader +++ b/Filters/VLMusicXMLType.reader @@ -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 diff --git a/Sources/VLPListDocument.mm b/Sources/VLPListDocument.mm index 0fda0f5..4056fc5 100644 --- a/Sources/VLPListDocument.mm +++ b/Sources/VLPListDocument.mm @@ -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([mPx intValue]); + if (NSDictionary * beginRep = [mdict objectForKey:@"begin-repeat"]) { VLRepeat rep; VLRepeat::Ending ending(measNo, measNo, 0);