Skip to content

Commit

Permalink
Write liquescent via nc@curve
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Jan 4, 2024
1 parent 20833fe commit 7d83623
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/editortoolkit_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,6 @@ bool EditorToolkitNeume::Insert(std::string elementType, std::string staffId, in
contour = it->second;
}
else if (it->first == "curve") {
Liquescent *liquescent = new Liquescent();
curvatureDirection_CURVE curve = curvatureDirection_CURVE_NONE;
if (it->second == "a") {
curve = curvatureDirection_CURVE_a;
Expand All @@ -957,7 +956,6 @@ bool EditorToolkitNeume::Insert(std::string elementType, std::string staffId, in
curve = curvatureDirection_CURVE_c;
nc->SetCurve(curve);
}
nc->AddChild(liquescent);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/iomei.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2702,6 +2702,7 @@ void MEIOutput::WriteNc(pugi::xml_node currentNode, Nc *nc)
this->WritePitchInterface(currentNode, nc);
this->WritePositionInterface(currentNode, nc);
nc->WriteColor(currentNode);
nc->WriteCurvatureDirection(currentNode);
nc->WriteIntervalMelodic(currentNode);
nc->WriteNcForm(currentNode);
}
Expand Down

0 comments on commit 7d83623

Please sign in to comment.