Fix a bug related to a change in JTS API. Tag version 2.0.1

This commit is contained in:
Michaël Michaud
2022-09-24 15:25:50 +02:00
parent 085b5c048e
commit c41af33da5
4 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.openjump</groupId>
<artifactId>dxf-driver</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<name>dxf-driver</name>
<description>Driver for dxf file format</description>

View File

@ -36,6 +36,7 @@ import com.vividsolutions.jump.workbench.plugin.PlugInContext;
* @version 1.0.0
*/
// History
// 2.0.1 (2022-09-24) : * fix a bug related to a change in JTS API
// 2.0.0 (2021-08-22) : * version number alignment with OpenJUMP's
// 1.0.0 (2021-04-11) : * refactoring for OpenJUMP 2, JTS 1.18
// 0.9.0 (2018-06-02) : * fix a regression preventing export of MultiPolygons

View File

@ -85,7 +85,7 @@ public class DxfLWPOLYLINE extends DxfENTITY {
else if (code==20) {
if (coord != null) {
coord.y = group.getDoubleValue();
coordList.add(new Coordinate(x, y, z));
coordList.add(new Coordinate(x, y, z), true);
}
}
//else {}

View File

@ -56,7 +56,7 @@ public class DxfVERTEX extends DxfENTITY {
}
if (!Double.isNaN(x) && !Double.isNaN(y)) {
if (DxfFile.DEBUG) System.out.println(" " + new Coordinate(x,y,z));
coordList.add(new Coordinate(x,y,z));
coordList.add(new Coordinate(x,y,z), true);
}
return group;
}