Update connection graph before sending netlist to pcbnew

Fixes: lp:1823449
* https://bugs.launchpad.net/kicad/+bug/1823449
This commit is contained in:
Jon Evans 2019-04-08 21:36:04 -04:00
parent c78c3c8198
commit 94ba1bcb87
1 changed files with 3 additions and 0 deletions

View File

@ -279,6 +279,9 @@ void SCH_EDIT_FRAME::KiwayMailIn( KIWAY_EXPRESS& mail )
} }
{ {
// Ensure netlist is up to date
RecalculateConnections();
NETLIST_OBJECT_LIST* net_atoms = BuildNetListBase(); NETLIST_OBJECT_LIST* net_atoms = BuildNetListBase();
NETLIST_EXPORTER_KICAD exporter( this, net_atoms, g_ConnectionGraph ); NETLIST_EXPORTER_KICAD exporter( this, net_atoms, g_ConnectionGraph );
STRING_FORMATTER formatter; STRING_FORMATTER formatter;