Skip to content

Commit

Permalink
Always initialise ligatures (avoid crash in cmn)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed May 16, 2024
1 parent 6ae0838 commit e747a31
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,8 @@ void Page::ResetAligners()
CalcAlignmentPitchPosFunctor calcAlignmentPitchPos(doc);
this->Process(calcAlignmentPitchPos);

if (IsMensuralType(doc->m_notationType)) {
CalcLigatureNotePosFunctor calcLigatureNotePos(doc);
this->Process(calcLigatureNotePos);
}
CalcLigatureNotePosFunctor calcLigatureNotePos(doc);
this->Process(calcLigatureNotePos);

CalcStemFunctor calcStem(doc);
this->Process(calcStem);
Expand Down

0 comments on commit e747a31

Please sign in to comment.