After subtracting regions (probably adding too), the paper.js state & microdraw global state get desynced in the matter of ordering (i.e. Microdraw.ImageInfo[i].Regions vs paper.project.activeLayer.children[i]), so the function _isPaperRegionsOrderOk returns false.
To reproduce:
Draw three overlapping regions (like a Venn diagram with 3 intersected, but not contained, sets)
Bug! 🐞
After subtracting regions (probably adding too), the paper.js state & microdraw global state get desynced in the matter of ordering (i.e.
Microdraw.ImageInfo[i].Regions
vspaper.project.activeLayer.children[i]
), so the function_isPaperRegionsOrderOk
returns false.To reproduce: