cursor.addNote doesn't update internal segment reference

• Jun 21, 2019 - 13:52
Reported version
3.x-dev
Type
Plugins
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

The method Cursor.addNote moves the input position of the score to the next segment but it doesn't update the segment reference of the Cursor.

For instance, when running createscore.qml plugin the method Cursor.next() isn't needed since addNote already moves the score to the next segment. Using Cursor.next() creates unwanted rests inbetween notes.
However, Cursor.addNote leaves the attribute cursor.tick to 0.


Comments

Fix version
3.3.4