tomara-x / quartz

visual programming and dsp playground
https://codeberg.org/tomara-x/quartz
Apache License 2.0
77 stars 3 forks source link

panic #155

Closed tomara-x closed 4 months ago

tomara-x commented 5 months ago

Screenshot_2024-05-01_16-15-43

this panics when duplicating the top right empty at order 2 (doesn't matter it can be at order 1)

scene file: process.txt

tomara-x commented 5 months ago

actually, duplicating any circle at an order > 0 in this scene will panic

tomara-x commented 5 months ago

smaller reproduction s0.txt

tomara-x commented 5 months ago

why does a loaded (unready) circle end up in the queue only with this setup? how come you need a butt -> rise -> reorder and the reorder targeting a process, and if any of those conditions isn't met, things work normally?

edit: process has nothing to do with it. reorder has to target something, doesn't matter what..

tomara-x commented 4 months ago

ah, it's cause rise is constantly opening the wh, so connected to a reorder meant that the reorder is always sending an OrderChange event

yup, this also does it

Screenshot_2024-05-02_09-21-27

so, b51ed80 is the best protection, but i wanna try figuring out a better way to handle rise/fall wh opening as well

tomara-x commented 4 months ago

done 576cfba