Skip to content

Commit

Permalink
Merge pull request #26388 from pacebes/26208-MusicXMLExportEndbarItem…
Browse files Browse the repository at this point in the history
…sLost_Dynamics

Fix #26208 (Dynamics): [Musicxml Export] - End-bar items lost
  • Loading branch information
miiizen authored Feb 12, 2025
2 parents 6558ac6 + 04016b6 commit 0c8964c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8247,6 +8247,14 @@ void ExportMusicXml::writeMeasureTracks(const Measure* const m,
const track_idx_t endtrack = staff2track(spannerStaff + 1);
spannerStop(this, starttrack, endtrack, seg->tick(), partRelStaffNo, spannersStopped);

// We check if there are additional annotations
for (EngravingItem* annotation : seg->annotations()) {
if (annotation->track() != track || !annotation->isTextBase()) {
continue;
}
// Just to include them
annotations(this, strack, etrack, track, partRelStaffNo, seg);
}
continue;
}
EngravingItem* const el = seg->element(track);
Expand Down

0 comments on commit 0c8964c

Please sign in to comment.