Fix edge case crash when processing invisible power pins
This commit is contained in:
parent
428e7a900b
commit
8b30cd4389
|
@ -1002,7 +1002,7 @@ void CONNECTION_GRAPH::buildConnectionGraph()
|
|||
{
|
||||
}
|
||||
|
||||
if( subgraph && subgraph->m_driver )
|
||||
if( subgraph && subgraph->m_driver_connection )
|
||||
{
|
||||
auto parent = subgraph->m_driver_connection;
|
||||
pc->Connection( sheet )->Clone( *parent );
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
CONNECTION_SUBGRAPH( SCH_EDIT_FRAME* aFrame ) :
|
||||
m_dirty( false ), m_code( -1 ), m_multiple_power_ports( false ),
|
||||
m_strong_driver( false ), m_no_connect( nullptr ), m_driver( nullptr ),
|
||||
m_frame( aFrame )
|
||||
m_frame( aFrame ), m_driver_connection( nullptr )
|
||||
{}
|
||||
/**
|
||||
* Determines which potential driver should drive the subgraph.
|
||||
|
|
Loading…
Reference in New Issue