Skip to content

Commit

Permalink
Add MusicXML export of placement, color and visibilty for figured bass
Browse files Browse the repository at this point in the history
remainders from backporting musescore#19132
  • Loading branch information
rettinghaus authored and Jojo-Schmitz committed Dec 25, 2024
1 parent cf7debf commit 793b09c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions importexport/musicxml/exportxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6054,6 +6054,11 @@ static void writeMusicXML(const FiguredBass* item, XmlWriter& xml, bool isOrigin
QString stag = "figured-bass";
if (item->hasParentheses())
stag += " parentheses=\"yes\"";
if (item->placeAbove())
stag += " placement=\"above\"";
stag += color2xml(item);
if (!item->visible())
stag += " print-object=\"no\"";
xml.stag(stag);
for (FiguredBassItem* fbItem : item->items())
writeMusicXML(fbItem, xml, isOriginalFigure, crEndTick, fbEndTick);
Expand Down

0 comments on commit 793b09c

Please sign in to comment.