dsacre / mididings

A MIDI router/processor based on Python
http://das.nasophon.de/mididings/
GNU General Public License v2.0
120 stars 40 forks source link

current_scene() in init patch returns previous scene number #19

Open noedigcode opened 8 years ago

noedigcode commented 8 years ago

When using current_scene() in an init patch, the returned scene number is still the previous scene. Example: Scene y's init patch is Process(myFunc), and in myFunc I call current_scene(). When switching from scene x to scene y, current_scene() within scene y's init patch (i.e. within the myFunc call) returns x and not y.