Skip to content

Commit

Permalink
Merge pull request musescore#26783 from alexpavlov96/skip_property_206
Browse files Browse the repository at this point in the history
skipping passed property while on reading mscz version 2
  • Loading branch information
alexpavlov96 authored Feb 27, 2025
2 parents 5b744a0 + 47466b5 commit b94efb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/engraving/rw/read206/read206.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,10 @@ void Read206::readTextStyle206(MStyle* style, XmlReader& e, ReadContext& ctx, st
ts = textStyle(ss);
}
for (const auto& i : *ts) {
if (ctx.shouldSkipProperty(i.pid)) {
continue;
}

PropertyValue value;
if (i.sid == Sid::NOSTYLE) {
break;
Expand Down

0 comments on commit b94efb0

Please sign in to comment.