Warn for excessive pads
Fixes: lp:1849664 * https://bugs.launchpad.net/kicad/+bug/1849664
This commit is contained in:
parent
7f507a4e6b
commit
d788a5d99e
|
@ -310,7 +310,13 @@ bool BOARD_NETLIST_UPDATER::updateComponentPadConnections( MODULE* aPcbComponent
|
||||||
pad->GetName() );
|
pad->GetName() );
|
||||||
m_reporter->Report( msg, REPORTER::RPT_ACTION );
|
m_reporter->Report( msg, REPORTER::RPT_ACTION );
|
||||||
}
|
}
|
||||||
|
else // pad has no net
|
||||||
|
{
|
||||||
|
msg.Printf( _( "No net for component %s pin %s." ),
|
||||||
|
aPcbComponent->GetReference(),
|
||||||
|
pad->GetName() );
|
||||||
|
m_reporter->Report( msg, REPORTER::RPT_WARNING);
|
||||||
|
}
|
||||||
if( !m_isDryRun )
|
if( !m_isDryRun )
|
||||||
{
|
{
|
||||||
changed = true;
|
changed = true;
|
||||||
|
|
Loading…
Reference in New Issue