[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (de86bae3007b8b1f82d3ebb1d3bb8d59396dc08f)
The branch, master has been updated
via de86bae3007b8b1f82d3ebb1d3bb8d59396dc08f (commit)
from 658ad94902bb8055d0b858b7001f72bdb2ce8733 (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 | 21 +++------------------
1 files changed, 3 insertions(+), 18 deletions(-)
=================
Commit Messages
=================
commit de86bae3007b8b1f82d3ebb1d3bb8d59396dc08f
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
draw.c: Use DrawPPV() where we can to save duplication
:100644 100644 5a9bb1b... b5be3dc... M src/draw.c
=========
Changes
=========
commit de86bae3007b8b1f82d3ebb1d3bb8d59396dc08f
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
draw.c: Use DrawPPV() where we can to save duplication
diff --git a/src/draw.c b/src/draw.c
index 5a9bb1b..b5be3dc 100644
--- a/src/draw.c
+++ b/src/draw.c
@@ -376,25 +376,10 @@ DrawEverything (BoxTypePtr drawn_area)
int group = drawn_groups[i];
if (gui->set_layer (0, group, 0))
- {
- if (DrawLayerGroup (group, drawn_area) && !gui->gui)
- {
- r_search (PCB->Data->pin_tree, drawn_area, NULL, pin_callback, NULL);
- r_search (PCB->Data->via_tree, drawn_area, NULL, via_callback, NULL);
- /* draw element pads */
- if (group == component || group == solder)
- {
- side = (group == solder) ? SOLDER_LAYER : COMPONENT_LAYER;
- r_search (PCB->Data->pad_tree, drawn_area, NULL, pad_callback, &side);
- }
-
- /* draw holes */
- plated = -1;
- r_search (PCB->Data->pin_tree, drawn_area, NULL, hole_callback, &plated);
- r_search (PCB->Data->via_tree, drawn_area, NULL, hole_callback, &plated);
- }
- }
+ if (DrawLayerGroup (group, drawn_area) && !gui->gui)
+ DrawPPV (group, drawn_area);
}
+
if (TEST_FLAG (CHECKPLANESFLAG, PCB) && gui->gui)
return;
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs