dxf export: skip nan z coordinates

This commit is contained in:
Juergen E. Fischer 2016-11-08 09:03:07 +01:00
parent e40d64f9d5
commit 0189609dcf

View File

@ -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() );
}