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

gEDA-cvs: pcb.git: branch: master updated (2e196d71143478a49c7f1ce440f50d7f1edae9b4)



The branch, master has been updated
       via  2e196d71143478a49c7f1ce440f50d7f1edae9b4 (commit)
      from  7fc71ca4d82c1709013b8bd544a6195906cba4ec (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/action.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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

commit 2e196d71143478a49c7f1ce440f50d7f1edae9b4
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Don't disperse locked elements.
    
    When dispersing elements do not disperse locked elements.  Locked elements
    often times are mechanical and really should not be moved.  Noted by
    Levente Kovacs on gEDA-user.

:100644 100644 ce7527f... 92fdbae... M	src/action.c

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

commit 2e196d71143478a49c7f1ce440f50d7f1edae9b4
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Don't disperse locked elements.
    
    When dispersing elements do not disperse locked elements.  Locked elements
    often times are mechanical and really should not be moved.  Noted by
    Levente Kovacs on gEDA-user.

diff --git a/src/action.c b/src/action.c
index ce7527f..92fdbae 100644
--- a/src/action.c
+++ b/src/action.c
@@ -2342,7 +2342,7 @@ ActionDisperseElements (int argc, char **argv, int x, int y)
      * going to be used either with a brand new design or a scratch
      * design holding some new components
      */
-    if (all || TEST_FLAG (SELECTEDFLAG, element))
+    if (!TEST_FLAG (LOCKFLAG, element) && (all || TEST_FLAG (SELECTEDFLAG, element)))
       {
 
 	/* figure out how much to move the element */




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