Skip to content

Commit

Permalink
Dxf: another small improvement in symbology export
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Dec 18, 2013
1 parent 4dcaa17 commit 45d6f7b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
Expand Up @@ -764,8 +764,11 @@ bool QgsSimpleMarkerSymbolLayerV2::writeDxf( QgsDxfExport& e, double mmMapUnitSc
}
double halfSize = size / 2.0;


QColor c = mBrush.color();
QColor c = mPen.color();
if ( mPen.style() == Qt::NoPen )
{
c = mBrush.color();
}
QgsExpression* colorExpression = expression( "color" );
if ( colorExpression )
{
Expand Down

0 comments on commit 45d6f7b

Please sign in to comment.