Fix overly-generic flag test when synchronizing pins.
Fixes: lp:1832170 * https://bugs.launchpad.net/kicad/+bug/1832170
This commit is contained in:
parent
09a3c5b280
commit
e4d16abcbd
|
@ -207,7 +207,7 @@ bool LIB_PIN_TOOL::PlacePin( LIB_PIN* aPin )
|
||||||
// Put linked pins in new position, and clear flags
|
// Put linked pins in new position, and clear flags
|
||||||
for( LIB_PIN* pin = part->GetNextPin(); pin; pin = part->GetNextPin( pin ) )
|
for( LIB_PIN* pin = part->GetNextPin(); pin; pin = part->GetNextPin( pin ) )
|
||||||
{
|
{
|
||||||
if( pin->GetEditFlags() == 0 )
|
if( ( pin->GetEditFlags() & IS_LINKED ) == 0 )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
pin->MoveTo( aPin->GetPosition() );
|
pin->MoveTo( aPin->GetPosition() );
|
||||||
|
|
Loading…
Reference in New Issue