Scripting fix.
This commit is contained in:
parent
7a526261fb
commit
b2a5b2f329
|
@ -54,9 +54,9 @@ class NETCLASS
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
// Default values used to init a NETCLASS
|
// Default values used to init a NETCLASS
|
||||||
const static int DEFAULT_CLEARANCE;
|
static const int DEFAULT_CLEARANCE;
|
||||||
const static int DEFAULT_VIA_DRILL;
|
static const int DEFAULT_VIA_DRILL;
|
||||||
const static int DEFAULT_UVIA_DRILL;
|
static const int DEFAULT_UVIA_DRILL;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxString m_Name; ///< Name of the net class
|
wxString m_Name; ///< Name of the net class
|
||||||
|
|
|
@ -86,7 +86,7 @@ bool SaveBoard( wxString& aFileName, BOARD* aBoard,
|
||||||
{
|
{
|
||||||
aBoard->m_Status_Pcb &= ~CONNEXION_OK;
|
aBoard->m_Status_Pcb &= ~CONNEXION_OK;
|
||||||
aBoard->SynchronizeNetsAndNetClasses();
|
aBoard->SynchronizeNetsAndNetClasses();
|
||||||
aBoard->SetCurrentNetClass( aBoard->m_NetClasses.GetDefault()->GetName() );
|
aBoard->GetDesignSettings().SetCurrentNetClass( NETCLASS::Default );
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
wxString header;
|
wxString header;
|
||||||
|
|
Loading…
Reference in New Issue