Skip to content
Permalink
Browse files
Fix logic error in dxf export of line with offset
  • Loading branch information
nyalldawson committed May 1, 2016
1 parent c256d10 commit 12f923f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -3784,7 +3784,7 @@ void QgsDxfExport::addFeature( QgsSymbolV2RenderContext& ctx, const QString& lay
{
QgsGeos geos( geom );
offsetGeom = geos.offsetCurve( offset, 0, GEOSBUF_JOIN_MITRE, 2.0 );
if ( offsetGeom )
if ( !offsetGeom )
offsetGeom = geom;
}

0 comments on commit 12f923f

Please sign in to comment.