Skip to content

Commit

Permalink
Merge pull request #3794 from martha-thomae/develop-cmme
Browse files Browse the repository at this point in the history
Add support for NoScoreEffect node in CMME
  • Loading branch information
lpugin authored Sep 19, 2024
2 parents 589dbe3 + a51c98d commit c2c00b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/iocmme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,12 @@ void CmmeInput::CreateMensuration(pugi::xml_node mensurationNode)
mensur->m_unsupported.push_back(std::make_pair("fontsize", "small"));
}

/// Mesuration/NoScoreEffect to @type = cmme_no_score_effect
pugi::xml_node noScoreEffect = mensurationNode.child("NoScoreEffect");
if (noScoreEffect != NULL) {
mensur->SetType("cmme_no_score_effect");
}

/// Mensuration/Number/Num to @num and Number/Den to @numbase
/// However, Number/Den cannot be entered in the CMME Editor.
/// It can only be added in the XML manually and imported into the CMME Editor,
Expand Down

0 comments on commit c2c00b0

Please sign in to comment.