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

Re: gEDA-user: pcb hid gtk



Levente wrote:
On Sun, 23 Apr 2006 15:34:59 -0400
Dan McMahill <dan@xxxxxxxxxxxx> wrote:


Levente wrote:

Hello,


When I do break buffer elements into piece, pcb adds the "hole" flag to the pins/vias.

Levente

I see the problem. I have a patch but I need to test it still. I should have it checked in tonight.


Thank you. Please send patch against the current snapshot. The anon CVS is still down at the moment.

Levente

--
http://web.interware.hu/lekovacs

diff -u -2 -r1.25 buffer.c --- buffer.c 28 Mar 2006 04:29:19 -0000 1.25 +++ buffer.c 23 Apr 2006 20:39:57 -0000 @@ -620,8 +620,13 @@ PIN_LOOP (element); { + FlagType f = NoFlags (); + AddFlags(f, VIAFLAG); + if (TEST_FLAG (HOLEFLAG, pin)) + AddFlags (f, HOLEFLAG); + CreateNewVia (Buffer->Data, pin->X, pin->Y, pin->Thickness, pin->Clearance, pin->Mask, pin->DrillingHole, pin->Number, - AddFlags (pin->Flags, HOLEFLAG)); + f); } END_LOOP;