Skip to content

Commit

Permalink
Merge pull request #25106 from rettinghaus/fix/meispace
Browse files Browse the repository at this point in the history
fix: MEI export of invisible rests
  • Loading branch information
cbjeukendrup authored Oct 9, 2024
2 parents f08e82d + a7f2358 commit e60f693
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/importexport/mei/internal/meiexporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,9 @@ bool MeiExporter::writeRest(const Rest* rest, const Staff* staff)
if (rest->dots()) {
meiRest.SetDots(rest->dots());
}
Convert::colorToMEI(rest, meiRest);
if (rest->visible()) {
Convert::colorToMEI(rest, meiRest);
}
this->writeBeamTypeAtt(rest, meiRest);
this->writeStaffIdenAtt(rest, staff, meiRest);
// this->writeVerses(rest);
Expand Down

0 comments on commit e60f693

Please sign in to comment.