Skip to content

Commit

Permalink
dxf export: either use rgb or palette color (followup 9961095)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 30, 2015
1 parent 94dda44 commit b6a4194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/dxf/qgsdxfexport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,10 @@ void QgsDxfExport::writeGroup( QColor color, int exactMatchCode, int rgbCode, in
minDist = dist;
}

writeGroup( exactMatchCode, minDistAt );
if ( minDist == 0 && color.alpha() == 255 && minDistAt != 7 )
{
// exact full opaque match, not black/white
writeGroup( exactMatchCode, minDistAt );
return;
}

Expand Down

0 comments on commit b6a4194

Please sign in to comment.