Skip to content
Permalink
Browse files

dxf export: either use rgb or palette color (followup 9961095)

  • Loading branch information
jef-n committed Mar 28, 2015
1 parent 94dda44 commit b6a419439eb991608039137fd49d78f7f585e20d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/dxf/qgsdxfexport.cpp
@@ -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;
}

0 comments on commit b6a4194

Please sign in to comment.
You can’t perform that action at this time.