Allow unannotated power connections to drive nets
This commit is contained in:
parent
d5a80e9cfd
commit
112be3bfd1
|
@ -235,7 +235,8 @@ bool SCH_CONNECTION::IsDriver() const
|
||||||
auto pin = static_cast<SCH_PIN*>( Parent() );
|
auto pin = static_cast<SCH_PIN*>( Parent() );
|
||||||
|
|
||||||
// Only annotated components should drive nets
|
// Only annotated components should drive nets
|
||||||
return pin->GetParentComponent()->IsAnnotated( &m_sheet );
|
return ( pin->IsPowerConnection()
|
||||||
|
|| pin->GetParentComponent()->IsAnnotated( &m_sheet ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue