From 47466b5da475dde5c5cc52fbe1fa7a6b0589c5c2 Mon Sep 17 00:00:00 2001 From: Alexander Pavlov Date: Thu, 27 Feb 2025 00:26:24 +0200 Subject: [PATCH] skipping passed property while on reading mscz version 2 --- src/engraving/rw/read206/read206.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engraving/rw/read206/read206.cpp b/src/engraving/rw/read206/read206.cpp index 44448e69dc881..8f09bd03fce72 100644 --- a/src/engraving/rw/read206/read206.cpp +++ b/src/engraving/rw/read206/read206.cpp @@ -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;