Skip to content

Commit

Permalink
fix freeze when tie has the same start and end note
Browse files Browse the repository at this point in the history
  • Loading branch information
psmokotnin authored and igorkorsukov committed Nov 5, 2020
1 parent db7daf6 commit 450511b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/rendermidi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,7 @@ void renderChordArticulation(Chord* chord, QList<NoteEventList> & ell, int & gat

static bool shouldRenderNote(Note* n)
{
while (n->tieBack()) {
while (n->tieBack() && n != n->tieBack()->startNote()) {
n = n->tieBack()->startNote();
if (findFirstTrill(n->chord()))
// The previous tied note probably has events for this note too.
Expand Down

0 comments on commit 450511b

Please sign in to comment.