Skip to content

Commit b6a4194

Browse files
committed
dxf export: either use rgb or palette color (followup 9961095)
1 parent 94dda44 commit b6a4194

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
@@ -431,10 +431,10 @@ void QgsDxfExport::writeGroup( QColor color, int exactMatchCode, int rgbCode, in
431431
minDist = dist;
432432
}
433433

434-
writeGroup( exactMatchCode, minDistAt );
435434
if ( minDist == 0 && color.alpha() == 255 && minDistAt != 7 )
436435
{
437436
// exact full opaque match, not black/white
437+
writeGroup( exactMatchCode, minDistAt );
438438
return;
439439
}
440440

0 commit comments

Comments
 (0)