mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-27 00:03:38 -04:00
Fix logic error in dxf export of line with offset
This commit is contained in:
parent
c256d10faa
commit
12f923f66c
@ -3784,7 +3784,7 @@ void QgsDxfExport::addFeature( QgsSymbolV2RenderContext& ctx, const QString& lay
|
|||||||
{
|
{
|
||||||
QgsGeos geos( geom );
|
QgsGeos geos( geom );
|
||||||
offsetGeom = geos.offsetCurve( offset, 0, GEOSBUF_JOIN_MITRE, 2.0 );
|
offsetGeom = geos.offsetCurve( offset, 0, GEOSBUF_JOIN_MITRE, 2.0 );
|
||||||
if ( offsetGeom )
|
if ( !offsetGeom )
|
||||||
offsetGeom = geom;
|
offsetGeom = geom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user