Different situations. After importing a score from xml, generating parts, saving, I got a crash when loading again. Or when adding a slur to a part... After fixing the above bug there where no more problems.
There is no such bug in the code, look at the link I provided, this is the current code, no "i < 20" in there, and 'git blame' shows it is that way since 2012
I can add slurs and ties in scores created from scratch, on scores and scores with parts, with less then 20 instruments, se we need a better set of steps to reproduce
Sorry, I cloned at 2017.10.5, and I do not remember any changes on this file. But may be I am wrong. You should not spend more time on any tests, because there is no problem with the original code.
Comments
libmscore/layout.cpp, line 1310 looks exactly as you propose it to look. And it does so since more than 5 years.
What are the exact steps to reproduce?
In reply to What are the exact steps to… by Jojo-Schmitz
Different situations. After importing a score from xml, generating parts, saving, I got a crash when loading again. Or when adding a slur to a part... After fixing the above bug there where no more problems.
In reply to Different situations. After… by Isensee
And so, it would be useful to attach this xml file.
There is no such bug in the code, look at the link I provided, this is the current code, no "i < 20" in there, and 'git blame' shows it is that way since 2012
I can add slurs and ties in scores created from scratch, on scores and scores with parts, with less then 20 instruments, se we need a better set of steps to reproduce
In reply to There is no such bug in the… by Jojo-Schmitz
Sorry, I cloned at 2017.10.5, and I do not remember any changes on this file. But may be I am wrong. You should not spend more time on any tests, because there is no problem with the original code.
So I close this now.