From fe3a0526d7fc8b84fe15b234edc022a14ee18224 Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Tue, 12 Dec 2023 17:06:45 -0500 Subject: [PATCH] New for blank files in neume notation --- src/iomei.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/iomei.cpp b/src/iomei.cpp index ac3f89bde36..77b60e7a0d8 100644 --- a/src/iomei.cpp +++ b/src/iomei.cpp @@ -4467,6 +4467,13 @@ bool MEIInput::ReadSectionChildren(Object *parent, pugi::xml_node parentNode) LogWarning("Unsupported '<%s>' within
", current.name()); } } + + // New for blank files in neume notation + if (!unmeasured && parent->Is(SECTION) && (m_doc->m_notationType == NOTATIONTYPE_neume)) { + unmeasured = new Measure(false); + m_doc->SetMensuralMusicOnly(true); + parent->AddChild(unmeasured); + } return success; }