Pcbnew: fix crash in netlist updater
This commit is contained in:
parent
6a45446496
commit
41a9546b3d
|
@ -689,7 +689,7 @@ bool BOARD_NETLIST_UPDATER::UpdateNetlist( NETLIST& aNetlist )
|
||||||
m_errorCount = 0;
|
m_errorCount = 0;
|
||||||
m_warningCount = 0;
|
m_warningCount = 0;
|
||||||
m_newFootprintsCount = 0;
|
m_newFootprintsCount = 0;
|
||||||
MODULE* lastPreexistingFootprint = m_board->Modules().back();
|
MODULE* lastPreexistingFootprint = m_board->Modules().empty() ? NULL : m_board->Modules().back();
|
||||||
|
|
||||||
cacheCopperZoneConnections();
|
cacheCopperZoneConnections();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue