Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for NoScoreEffect node in CMME #3794

Merged
merged 3 commits into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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