fix build with Python
This commit is contained in:
parent
de7f4d7aa4
commit
d8018ded0b
|
@ -101,7 +101,6 @@ HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints)
|
|||
|
||||
// std::vector templates
|
||||
%template(VIA_DIMENSION_Vector) std::vector<VIA_DIMENSION>;
|
||||
%template(RATSNEST_Vector) std::vector<RATSNEST_ITEM>;
|
||||
%include class_board.h
|
||||
%{
|
||||
#include <class_board.h>
|
||||
|
|
|
@ -77,8 +77,16 @@ BOARD* LoadBoard( wxString& aFileName, IO_MGR::PCB_FILE_T aFormat )
|
|||
|
||||
|
||||
bool SaveBoard( wxString& aFileName, BOARD* aBoard )
|
||||
{
|
||||
return SaveBoard( aFilename, aBoard, IO_MGR::KICAD );
|
||||
}
|
||||
|
||||
|
||||
bool SaveBoard( wxString& aFileName, BOARD* aBoard,
|
||||
IO_MGR::PCB_FILE_T aFormat )
|
||||
{
|
||||
aBoard->m_Status_Pcb &= ~CONNEXION_OK;
|
||||
|
||||
aBoard->SynchronizeNetsAndNetClasses();
|
||||
aBoard->GetDesignSettings().SetCurrentNetClass( NETCLASS::Default );
|
||||
|
||||
|
|
Loading…
Reference in New Issue