Changes between Version 1 and Version 2 of Ticket #22317, comment 1


Ignore:
Timestamp:
2023-02-02T21:02:58+01:00 (3 years ago)
Author:
TrickyFoxy

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22317, comment 1

    v1 v2  
    33`lastIdx != 0` is enough to fix the crash, but if you try to delete a single point several times, checking `org/openstreetmap/josm/plugins/fastdraw/DrawnPolyLine.java:108` will prevent you from adding new points, because the line continues to be a polygon. So I added a transformation back to a unclosed way if the first/last point of the polygon is removed. This also improved the following: before, the first point of the polygon could be deleted, and the auxiliary blue led to the last point of the polygon, which is strange, because the user just tried to delete it.
    44
    5 Seems connected probably fixes https://josm.openstreetmap.de/ticket/19590
     5Seems connected probably fixes #19590