imglab icon indicating copy to clipboard operation
imglab copied to clipboard

does not load project in "nimn" format

Open alex89607 opened this issue 4 years ago • 1 comments

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:

  1. open picture, draw one polygon.
  2. save project at NIMN format ("test.nimn")
  3. reload page and open same picture
  4. select picture at bottom
  5. open project("test.nimn")
  6. click on picture at bottom - see nothing (lack of polygon)

Console Errors None

**Device detail

  1. windows 10/64. Firefox 75.0 (64-битный) Chrome Версия 81.0.4044.92 (Официальная сборка), (64 бит)

**Additional information JSON save\load works well

alex89607 avatar Apr 13 '20 11:04 alex89607

Having another bug when opening: TypeError: point.map is not a function. (In 'point.map(val => val * scale)', 'point.map' is undefined)

franz101 avatar Nov 17 '20 21:11 franz101