eeschema: Add directly connected items to block
Allow components to connect to both components and junctions Fixes: lp:1798968 * https://bugs.launchpad.net/kicad/+bug/1798968
This commit is contained in:
parent
6b75f589e9
commit
353bda6792
|
@ -599,7 +599,8 @@ public:
|
|||
{
|
||||
return ( aItem->Type() == SCH_LINE_T && aItem->GetLayer() == LAYER_WIRE ) ||
|
||||
( aItem->Type() == SCH_NO_CONNECT_T ) ||
|
||||
( aItem->Type() == SCH_JUNCTION_T );
|
||||
( aItem->Type() == SCH_JUNCTION_T ) ||
|
||||
( aItem->Type() == SCH_COMPONENT_T ) ;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -87,8 +87,9 @@ public:
|
|||
|
||||
bool CanConnect( const SCH_ITEM* aItem ) const override
|
||||
{
|
||||
return aItem->Type() == SCH_LINE_T &&
|
||||
( aItem->GetLayer() == LAYER_WIRE || aItem->GetLayer() == LAYER_BUS );
|
||||
return ( aItem->Type() == SCH_LINE_T &&
|
||||
( aItem->GetLayer() == LAYER_WIRE || aItem->GetLayer() == LAYER_BUS ) ) ||
|
||||
aItem->Type() == SCH_COMPONENT_T;
|
||||
}
|
||||
|
||||
wxString GetSelectMenuText( EDA_UNITS_T aUnits ) const override
|
||||
|
|
Loading…
Reference in New Issue