ellejohara / newretrograde

A retrograde plugin for MuseScore 3.x.
GNU General Public License v3.0
0 stars 2 forks source link

When selection includes 2 staves & last measure plugin does not see bottom staff #5

Closed elsewhere37 closed 1 year ago

elsewhere37 commented 1 year ago

Cursor.tick is reset to 0 after reading last measure in staff 1. (If you need to contact me: dirk.elseviers@telenet.be)

elsewhere37 commented 1 year ago

I think I found the bug: You need to add

if(cursor.tick == 0) { cursor.rewind(1); // rewind to get additional voices }

at lines 86, 185 & 193

i.e. after: for(var trackNum in tracks) {

and after the 2 cursor.next() statements below

but have not tested extensively

elsewhere37 commented 1 year ago

There are still problems. please look at my new post on https://musescore.org/en/node/333755

ellejohara commented 1 year ago

Fixed in 3.0.4.