r5007 - trunk/gta02-core/kicad-patches

werner at docs.openmoko.org werner at docs.openmoko.org
Wed May 20 11:35:50 CEST 2009


Author: werner
Date: 2009-05-20 11:35:50 +0200 (Wed, 20 May 2009)
New Revision: 5007

Added:
   trunk/gta02-core/kicad-patches/fix-pinedit-collision.patch
Log:
A tentative fix for excessive warnings when editing multi-unit components.



Added: trunk/gta02-core/kicad-patches/fix-pinedit-collision.patch
===================================================================
--- trunk/gta02-core/kicad-patches/fix-pinedit-collision.patch	                        (rev 0)
+++ trunk/gta02-core/kicad-patches/fix-pinedit-collision.patch	2009-05-20 09:35:50 UTC (rev 5007)
@@ -0,0 +1,23 @@
+When working with a component that contains multiple independent units,
+KiCad warns about pin locations being occupied even if the conflicting
+pin is in a different unit.
+
+This may to be unnecessary. This patch suppresses the warning if the
+pins are in different units.
+
+- Werner
+
+Index: kicad/eeschema/pinedit.cpp
+===================================================================
+--- kicad.orig/eeschema/pinedit.cpp	2009-05-20 05:21:13.000000000 -0300
++++ kicad/eeschema/pinedit.cpp	2009-05-20 05:35:53.000000000 -0300
+@@ -193,6 +193,9 @@
+             continue;
+         if( newpos != Pin->m_Pos )
+             continue;
++        if( Pin->m_Unit != CurrentPin->m_Unit &&
++	    Pin->m_Unit && CurrentPin->m_Unit )
++            continue;
+         if( Pin->m_Flags )
+             continue;
+         if( ask_for_pin )




More information about the commitlog mailing list