mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
dxf export: skip nan z coordinates
This commit is contained in:
parent
e40d64f9d5
commit
0189609dcf
@ -428,7 +428,7 @@ void QgsDxfExport::writeGroup( int code, const QgsPointV2 &p )
|
|||||||
{
|
{
|
||||||
writeGroup( code + 10, p.x() );
|
writeGroup( code + 10, p.x() );
|
||||||
writeGroup( code + 20, p.y() );
|
writeGroup( code + 20, p.y() );
|
||||||
if ( p.is3D() )
|
if ( p.is3D() && qIsFinite( p.z() ) )
|
||||||
writeGroup( code + 30, p.z() );
|
writeGroup( code + 30, p.z() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user