[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Thermal pads overlapping regular SMD pads and solder mask



On Wed, 10 Nov 2010 18:25:12 -0500
DJ Delorie <dj@xxxxxxxxxxx> wrote:

> Right, if you read my comment I suggested making the call itself
> conditional.

I just realized that after I posted.

The following patch actually seems to work:

=== modified file 'src/draw.c'
--- 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;
 }
 


Regards,
Colin


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user