Changeset: f05631dc9ad2 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f05631dc9ad2
Modified Files:
geom/monetdb5/geom_x3d.c
Branch: sfcgal
Log Message:
Fix
diffs (12 lines):
diff --git a/geom/monetdb5/geom_x3d.c b/geom/monetdb5/geom_x3d.c
--- a/geom/monetdb5/geom_x3d.c
+++ b/geom/monetdb5/geom_x3d.c
@@ -757,7 +757,7 @@ geom_toX3D3(const GEOSGeometry *geom, ch
double pt_x, pt_y, pt_z = 0.0;
GEOSGeomGetX(point, &pt_x);
GEOSGeomGetY(point, &pt_y);
- if (GEOSHasZ(point) != 1)
+ if (GEOSHasZ(point) == 1)
GEOSGeomGetZ(point, &pt_z);
if (fabs(pt_x) < OUT_MAX_DOUBLE)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list