imglab
imglab copied to clipboard
does not load project in "nimn" format
Describe the bug does not load project in "nimn" format with polygons
To Reproduce it can be reproduced at online(https://imglab.in/#) and local(http://localhost/imglab) version at the same time:
- open picture, draw one polygon.
- save project at NIMN format ("test.nimn")
- reload page and open same picture
- select picture at bottom
- open project("test.nimn")
- click on picture at bottom - see nothing (lack of polygon)
Console Errors None
**Device detail
- windows 10/64. Firefox 75.0 (64-битный) Chrome Версия 81.0.4044.92 (Официальная сборка), (64 бит)
**Additional information JSON save\load works well
Having another bug when opening: TypeError: point.map is not a function. (In 'point.map(val => val * scale)', 'point.map' is undefined)