Fix logic error in dxf export of line with offset

This commit is contained in:
Nyall Dawson 2016-05-02 09:47:39 +10:00
parent c256d10faa
commit 12f923f66c

View File

@ -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;
}