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

gEDA-cvs: pcb.git: branch: master updated (3d983853cbc61c64993492799eef911339f4f5cc)



The branch, master has been updated
       via  3d983853cbc61c64993492799eef911339f4f5cc (commit)
      from  70d3bfa6da2b72f52a071b2183d21a60d6db44d4 (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/select.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


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

commit 3d983853cbc61c64993492799eef911339f4f5cc
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Fix "select pads on hidden far side"
    
    If an SMT pad is on the far side of the board, and the far side
    layer is not visible, do not select that pad.  Exception: if that
    pad is part of an element which *is* on the visible side, the pad
    is selected as part of selecting the whole element.  But, elements
    on the far side (the common case) won't have their pads selected
    when those pads aren't visible.

:100644 100644 5d44b4f... 3e978bb... M	src/select.c

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

commit 3d983853cbc61c64993492799eef911339f4f5cc
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Fix "select pads on hidden far side"
    
    If an SMT pad is on the far side of the board, and the far side
    layer is not visible, do not select that pad.  Exception: if that
    pad is part of an element which *is* on the visible side, the pad
    is selected as part of selecting the whole element.  But, elements
    on the far side (the common case) won't have their pads selected
    when those pads aren't visible.

diff --git a/src/select.c b/src/select.c
index 5d44b4f..3e978bb 100644
--- a/src/select.c
+++ b/src/select.c
@@ -451,7 +451,10 @@ SelectBlock (BoxTypePtr Box, bool Flag)
 	  PAD_LOOP (element);
 	  {
 	    if (PAD_IN_BOX (pad, Box)
-		&& TEST_FLAG (SELECTEDFLAG, pad) != Flag)
+		&& TEST_FLAG (SELECTEDFLAG, pad) != Flag
+		&& (TEST_FLAG (ONSOLDERFLAG, pad) == SWAP_IDENT
+		    || PCB->InvisibleObjectsOn
+		    || !Flag))
 	      {
 		AddObjectToFlagUndoList (PAD_TYPE, element, pad, pad);
 		ASSIGN_FLAG (SELECTEDFLAG, Flag, pad);




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