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 12f923f66cce255ed43f32b8ed77dfc803ac959c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/dxf/qgsdxfexport.cpp
@@ -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.
You can’t perform that action at this time.