Skip to content
Permalink
Browse files

dxf export: skip nan z coordinates

(cherry picked from commit 0189609)
  • Loading branch information
jef-n committed Nov 8, 2016
1 parent 91e2f00 commit dc9ebe24293658f8372a7ec955f4d03c90263328
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/dxf/qgsdxfexport.cpp
@@ -433,7 +433,7 @@ void QgsDxfExport::writeGroup( int code, const QgsPointV2 &p )
{
writeGroup( code + 10, p.x() );
writeGroup( code + 20, p.y() );
if ( p.is3D() )
if ( p.is3D() && qIsFinite( p.z() ) )
writeGroup( code + 30, p.z() );
}

0 comments on commit dc9ebe2

Please sign in to comment.
You can’t perform that action at this time.