Calling appendPart(InstrumentName) on the active score causes MuseScore to crash.
I'm trying to develop a plug-in that will produce music in parallel with the current selection, so I've been trying to append a new part to the score. This causes the above problem which I've successfully replicated in musescore 0.9.6 with the plug-in code below.
var mscorePlugin =
{
majorVersion: 1,
minorVersion: 1,
menu: 'Plugins.mytest',
init: init,
run: run,
onClose: close
};
function init() {};
function run() {
curScore.appendPart("Piano");
};
function close() {};
mscorePlugin;
Comments
Crash => Critical?
Should this function (appendPart) be removed from the 0.9.6 branch or is a fix still possible before release?
I looked at it an found no immediate solution. I could give it another try on sunday (depends on how i survive the 1. may :-)
fixed in r3024
If you undo, MuseScore crashes.
Another bug, the function is called appendPart but a part is added at the beginning.
In r3026 the new part is appended and Undo also works.
Automatically closed -- issue fixed for 2 weeks with no activity.