Skip to content

Commit

Permalink
Merge pull request #4486 from dmitrio95/280503-tremolo-slur-copypaste…
Browse files Browse the repository at this point in the history
…-crash

fix #280503: disable generating play events before layout
  • Loading branch information
anatoly-os committed Jan 7, 2019
2 parents f7420a2 + ceafb34 commit 7b2fc4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/layout.cpp
Expand Up @@ -4085,8 +4085,10 @@ void Score::doLayoutRange(int stick, int etick)

if (cmdState().layoutFlags & LayoutFlag::FIX_PITCH_VELO)
updateVelo();
#if 0 // TODO: needed? It was introduced in ab9774ec4098512068b8ef708167d9aa6e702c50
if (cmdState().layoutFlags & LayoutFlag::PLAY_EVENTS)
createPlayEvents();
#endif

//---------------------------------------------------
// initialize layout context lc
Expand Down

0 comments on commit 7b2fc4a

Please sign in to comment.