← Back to team overview

kicad-developers team mailing list archive

[PATCH] Fix: Also hide pin targets for junction dots

 

Bit of a bug in my pin target hiding code: junction dots on pins should 
also hide the target. I forgot you can connect them that way.

http://misc.c4757p.com/target_hide_bug.png

This patch fixes that.

--
Chris
commit 7a5c65519bfa49ebc25a2c50c89d0f53ff2c86e4
Author: Chris Pavlina <cpavlin1@xxxxxxxxxxxxxx>
Date:   Wed Jun 10 09:55:23 2015 -0400

    Bugfix: also hide pin targets for junction dots

diff --git a/eeschema/sch_component.cpp b/eeschema/sch_component.cpp
index 502f980..dbe2f81 100644
--- a/eeschema/sch_component.cpp
+++ b/eeschema/sch_component.cpp
@@ -1658,6 +1658,7 @@ bool SCH_COMPONENT::IsPinDanglingStateChanged( std::vector<DANGLING_END_ITEM> &a
         case WIRE_START_END:
         case WIRE_END_END:
         case NO_CONNECT_END:
+        case JUNCTION_END:
             if( pin_position == each_item.GetPosition() )
                 m_isDangling[aPin] = false;
             break;

Follow ups