[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (1d551f2fbe9dfba9b2e0d7e703ccc26200611635)
The branch, master has been updated
via 1d551f2fbe9dfba9b2e0d7e703ccc26200611635 (commit)
from ec34fde7e5ca02e97d22039260d0ee69236e859b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/draw.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit 1d551f2fbe9dfba9b2e0d7e703ccc26200611635
Author: Stephen Ecob <silicon.on.inspiration@xxxxxxxxx>
Commit: Ineiev <ineiev@xxxxxxxxxxxxxxxx>
better heuristics for paste openings
Prohibit paste windows wider than mask ones (suggested by Kai-Martin
Knaak).
Suppress zero width paste windows (suggested by DJ Delorie).
Discussed on
http://www.seul.org/pipermail/geda-user/2011-February/052413.html
Closes-bug: lp-718342
:100644 100644 1d8d462... 18d0dce... M src/draw.c
=========
Changes
=========
commit 1d551f2fbe9dfba9b2e0d7e703ccc26200611635
Author: Stephen Ecob <silicon.on.inspiration@xxxxxxxxx>
Commit: Ineiev <ineiev@xxxxxxxxxxxxxxxx>
better heuristics for paste openings
Prohibit paste windows wider than mask ones (suggested by Kai-Martin
Knaak).
Suppress zero width paste windows (suggested by DJ Delorie).
Discussed on
http://www.seul.org/pipermail/geda-user/2011-February/052413.html
Closes-bug: lp-718342
diff --git a/src/draw.c b/src/draw.c
index 1d8d462..18d0dce 100644
--- a/src/draw.c
+++ b/src/draw.c
@@ -543,8 +543,13 @@ DrawEverything (BoxTypePtr drawn_area)
if ((TEST_FLAG (ONSOLDERFLAG, pad) && side == SOLDER_LAYER)
|| (!TEST_FLAG (ONSOLDERFLAG, pad)
&& side == COMPONENT_LAYER))
- if (!TEST_FLAG (NOPASTEFLAG, pad))
- DrawPadLowLevel (Output.fgGC, pad, false, false);
+ if (!TEST_FLAG (NOPASTEFLAG, pad) && pad->Mask > 0)
+ {
+ if (pad->Mask < pad->Thickness)
+ DrawPadLowLevel (Output.fgGC, pad, true, true);
+ else
+ DrawPadLowLevel (Output.fgGC, pad, false, false);
+ }
}
ENDALL_LOOP;
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs