gEDA-user: Bug in cvs pcb concerning polygons
Ben Jackson
ben at ben.com
Sun Aug 5 16:13:41 EDT 2007
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 at ben.com>
http://www.ben.com/
-------------- next part --------------
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, ®ion, NULL, arc_sub_callback, &info);
- if (info.solder
- || group == Group (Data, Data->LayerN + COMPONENT_LAYER))
- r +=
- r_search (Data->pad_tree, ®ion, NULL, pad_sub_callback, &info);
}
END_LOOP;
+ if (info.solder || group == Group (Data, Data->LayerN + COMPONENT_LAYER))
+ r += r_search (Data->pad_tree, ®ion, NULL, pad_sub_callback, &info);
}
return r;
}
More information about the geda-user
mailing list