Closed mm6654 closed 1 year ago
Duplicate issue: https://github.com/ActiveBrainAtlas2/activebrainatlasadmin/issues/105
keeping this open.
This has been fixed. @mm6654 this requires redrawing the polygons in which the bug took place.
Ui/annotations.ts
contains the code for fixing this.
Issue occurs when all the points are not in the same plane. For example the current vertices in the polygon are in section: 234.50001 but the newly created point is at location 234.5 hence the issue.
This issue has been fixed. Reproduced at link: https://webdev.dk.ucsd.edu/preview/?id=393
Now the vertices don't break.
I am testing the volume tool by drawing a sub-region polygon within a main region polygon. One issue that appears on both polygons is that if the user is in "edit mode" and decides to add a vertex point, then moving any surrounding vertex points next to the added one will separate the vertices. All separated vertices can be moved around, and the annotations can even be saved even though the polygon is not closed. I also tested the propagation tool and it copies the disconnected polygon to the next section.
Additionally, you can delete a vertex point that is in between two other vertices, but any edge vertices cannot be deleted.