neuroanatomy / microdraw

Collaborative vectorial annotation tool for ultra high resolution data
https://microdraw.pasteur.fr
GNU General Public License v3.0
23 stars 8 forks source link

Reordering regions does not work after boolean ops #42

Open anibalsolon opened 3 years ago

anibalsolon commented 3 years ago

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 vs paper.project.activeLayer.children[i]), so the function _isPaperRegionsOrderOk returns false.

To reproduce: