Skip to content

Commit dc9ebe2

Browse files
committed
dxf export: skip nan z coordinates
(cherry picked from commit 0189609)
1 parent 91e2f00 commit dc9ebe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/dxf/qgsdxfexport.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ void QgsDxfExport::writeGroup( int code, const QgsPointV2 &p )
433433
{
434434
writeGroup( code + 10, p.x() );
435435
writeGroup( code + 20, p.y() );
436-
if ( p.is3D() )
436+
if ( p.is3D() && qIsFinite( p.z() ) )
437437
writeGroup( code + 30, p.z() );
438438
}
439439

0 commit comments

Comments
 (0)