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

gEDA-cvs: pcb.git: branch: master updated (87c5f270c5d6c9d7ab1f5dac60e82b730f5d0870)



The branch, master has been updated
       via  87c5f270c5d6c9d7ab1f5dac60e82b730f5d0870 (commit)
      from  47ccf7bcd762486e0a79c14ffc79fbcce4addc0a (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 |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


=================
 Commit Messages
=================

commit 87c5f270c5d6c9d7ab1f5dac60e82b730f5d0870
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

     Make DrawPPV() always draw for non gui HIDs, rather than doing_assy
    
    The gui HIDs don't accept the assembly drawaing, so testing for !gui->gui
    will catch this case, and we can drop the doing_assy override for
    PCB->PinOn and PCB->ViaOn

:100644 100644 7345912... 1cbc98b... M	src/draw.c

=========
 Changes
=========

commit 87c5f270c5d6c9d7ab1f5dac60e82b730f5d0870
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

     Make DrawPPV() always draw for non gui HIDs, rather than doing_assy
    
    The gui HIDs don't accept the assembly drawaing, so testing for !gui->gui
    will catch this case, and we can drop the doing_assy override for
    PCB->PinOn and PCB->ViaOn

diff --git a/src/draw.c b/src/draw.c
index 7345912..1cbc98b 100644
--- a/src/draw.c
+++ b/src/draw.c
@@ -566,7 +566,8 @@ pad_callback (const BoxType * b, void *cl)
 }
 
 /* ---------------------------------------------------------------------------
- * draws pins pads and vias
+ * Draws pins pads and vias - Always draws for non-gui HIDs,
+ * otherwise drawing depends on PCB->PinOn and PCB->ViaOn
  */
 static void
 DrawPPV (int group, const BoxType *drawn_area)
@@ -575,7 +576,7 @@ DrawPPV (int group, const BoxType *drawn_area)
   int solder_group = GetLayerGroupNumberByNumber (solder_silk_layer);
   int side;
 
-  if (PCB->PinOn || doing_assy)
+  if (PCB->PinOn || !gui->gui)
     {
       /* draw element pins */
       r_search (PCB->Data->pin_tree, drawn_area, NULL, pin_callback, NULL);
@@ -595,7 +596,7 @@ DrawPPV (int group, const BoxType *drawn_area)
     }
 
   /* draw vias */
-  if (PCB->ViaOn || doing_assy)
+  if (PCB->ViaOn || !gui->gui)
     {
       r_search (PCB->Data->via_tree, drawn_area, NULL, via_callback, NULL);
       r_search (PCB->Data->via_tree, drawn_area, NULL, hole_callback, NULL);




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