From e71c328ddec4347ae16e227ae90a2777b4316a3e Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Mon, 3 Jun 2024 09:31:07 -0400 Subject: [PATCH] Fix empty syl not showing for neume lines Refs: https://github.com/DDMAL/Neon/issues/1218 --- src/iomei.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iomei.cpp b/src/iomei.cpp index 5d1e8ae1200..019e414320c 100644 --- a/src/iomei.cpp +++ b/src/iomei.cpp @@ -6985,7 +6985,7 @@ bool MEIInput::ReadStem(Object *parent, pugi::xml_node stem) bool MEIInput::ReadSyl(Object *parent, pugi::xml_node syl) { // Add empty text node for empty syl element for invisible bbox in neume notation - if (!syl.first_child() && m_doc->IsFacs() && (m_doc->m_notationType == NOTATIONTYPE_neume)) { + if (!syl.first_child() && m_doc->HasFacsimile() && m_doc->IsNeumeLines()) { syl.text().set(""); } Syl *vrvSyl = new Syl();