Hi Marc, i'm not sure it is a bug, but rather simply the way it works. It looks like addNote does not update _line, perhaps something else does. Rather _line gets initialized to its default value of 0, which happens to coincide with a particular line on the staff.
I could build a test case, but I'm afraid the conclusion will be: That's not a bug; it's just the way it works. BTW, how can I create a test case for a C++ api? I could put it on a branch or a PR just for the purpose of sharing it. -- View this message in context: http://dev-list.musescore.org/note-not-yet-ready-tp7579475p7579486.html Sent from the MuseScore Developer mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Mscore-developer mailing list Mscore-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mscore-developer