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

error loading first annotation (bug with microdrawDBLoad) #70

Closed r03ert0 closed 2 years ago

r03ert0 commented 2 years ago

In microdraw.js the function microdrawDBLoad is empty, and it's instantiated when the tool save.js is loaded. However, when a dataset is first loaded, the empty microdrawDBLoad function gets called, and no annotation is displayed.

we should make sure that microdrawDBLoad is instantiated before loading annotations. A solution would be to bring back microdrawDBLoad to microdraw.js (it's weird to have it in save.js anyway)

r03ert0 commented 2 years ago

fixed by commit 8e9cede3c79cfd681434644d31b1990e40ccb23e