Skip to content

Commit 12f923f

Browse files
committedMay 1, 2016
Fix logic error in dxf export of line with offset
1 parent c256d10 commit 12f923f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/dxf/qgsdxfexport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3784,7 +3784,7 @@ void QgsDxfExport::addFeature( QgsSymbolV2RenderContext& ctx, const QString& lay
37843784
{
37853785
QgsGeos geos( geom );
37863786
offsetGeom = geos.offsetCurve( offset, 0, GEOSBUF_JOIN_MITRE, 2.0 );
3787-
if ( offsetGeom )
3787+
if ( !offsetGeom )
37883788
offsetGeom = geom;
37893789
}
37903790

0 commit comments

Comments
 (0)