Skip to content

Commit

Permalink
Fix empty syl not showing for neume lines
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Jun 3, 2024
1 parent 765a124 commit e71c328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iomei.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e71c328

Please sign in to comment.