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

Re: gEDA-user: Bug in cvs pcb concerning polygons



On Sun, Aug 05, 2007 at 12:03:01PM -0400, DJ Delorie wrote:
> 
> I can't find the patch.  Ben, did you ever post it anywhere?

I have two changes, one is to remove the duplicate clearance of pads,
which I've mailed to the list before and I'm attaching to this mail,
and another to fix the roundrect code, which I haven't extracted as
a diff.

-- 
Ben Jackson AD7GD
<ben@xxxxxxx>
http://www.ben.com/
Index: polygon.c
===================================================================
RCS file: /cvsroot/pcb/pcb/src/polygon.c,v
retrieving revision 1.52
diff -u -r1.52 polygon.c
--- polygon.c	28 Apr 2007 14:32:54 -0000	1.52
+++ polygon.c	26 Jul 2007 04:24:48 -0000
@@ -692,12 +692,10 @@
                     &info);
         r +=
           r_search (layer->arc_tree, &region, NULL, arc_sub_callback, &info);
-        if (info.solder
-            || group == Group (Data, Data->LayerN + COMPONENT_LAYER))
-          r +=
-            r_search (Data->pad_tree, &region, NULL, pad_sub_callback, &info);
       }
       END_LOOP;
+      if (info.solder || group == Group (Data, Data->LayerN + COMPONENT_LAYER))
+	r += r_search (Data->pad_tree, &region, NULL, pad_sub_callback, &info);
     }
   return r;
 }

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