Allow unannotated power connections to drive nets

This commit is contained in:
Jon Evans 2020-01-03 22:09:56 -05:00
parent d5a80e9cfd
commit 112be3bfd1
1 changed files with 2 additions and 1 deletions

View File

@ -235,7 +235,8 @@ bool SCH_CONNECTION::IsDriver() const
auto pin = static_cast<SCH_PIN*>( Parent() );
// Only annotated components should drive nets
return pin->GetParentComponent()->IsAnnotated( &m_sheet );
return ( pin->IsPowerConnection()
|| pin->GetParentComponent()->IsAnnotated( &m_sheet ) );
}
default: