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 1 changed file with 1 addition and 1 deletion.
@@ -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
Copy link
Member

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot!!!

Please sign in to comment.