Skip to content
Permalink
Browse files

dxf export: skip nan z coordinates

  • Loading branch information
jef-n committed Nov 8, 2016
1 parent e40d64f commit 0189609dcf22b58f2fd02dde1b7c9e1c98443606
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/dxf/qgsdxfexport.cpp
@@ -428,7 +428,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() );
}

1 comment on commit 0189609

@3nids

This comment has been minimized.

Copy link
Member

@3nids 3nids commented on 0189609 Nov 8, 2016

thanks a lot!!!

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