pcb

Comment 3 for bug 699498

Revision history for this message
Colin D Bennett (colinb) wrote :

OK, I tested the following updated patch and it fixes the problem of drawing pads which are entirely covered by solder mask:

--- src/draw.c 2010-09-10 14:30:23 +0000
+++ src/draw.c 2010-11-10 23:32:09 +0000
@@ -673,7 +673,12 @@
 {
   PadTypePtr pad = (PadTypePtr) b;
   if (!XOR (TEST_FLAG (ONSOLDERFLAG, pad), SWAP_IDENT))
- ClearPad (pad, true);
+ {
+ if (pad->Mask != 0)
+ {
+ ClearPad (pad, true);
+ }
+ }
   return 1;
 }