Changeset 35975 in osm for applications/editors/josm/plugins/importvec/src
- Timestamp:
- 2022-06-13T19:51:10+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/SvgImportTask.java
r35198 r35975 21 21 import org.openstreetmap.josm.data.UndoRedoHandler; 22 22 import org.openstreetmap.josm.data.coor.EastNorth; 23 import org.openstreetmap.josm.data.coor.ILatLon; 23 24 import org.openstreetmap.josm.data.coor.LatLon; 24 25 import org.openstreetmap.josm.data.osm.DataSet; … … 136 137 break; 137 138 case PathIterator.SEG_CLOSE: 138 if (currentway.firstNode().getCoor().equalsEpsilon(nodes.getLast().getCoor() )) {139 if (currentway.firstNode().getCoor().equalsEpsilon(nodes.getLast().getCoor(), ILatLon.MAX_SERVER_PRECISION)) { 139 140 currentway.removeNode(nodes.removeLast()); 140 141 } … … 205 206 } 206 207 } 207 208 208 209 }
Note:
See TracChangeset
for help on using the changeset viewer.