Skip to content

Commit

Permalink
dxf export: skip nan z coordinates
Browse files Browse the repository at this point in the history
(cherry picked from commit 0189609)
  • Loading branch information
jef-n committed Nov 8, 2016
1 parent 91e2f00 commit dc9ebe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/dxf/qgsdxfexport.cpp
Expand Up @@ -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() );
}

Expand Down

0 comments on commit dc9ebe2

Please sign in to comment.