Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
b2a5b2f3
Commit
b2a5b2f3
authored
May 15, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripting fix.
parent
7a526261
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
class_netclass.h
pcbnew/class_netclass.h
+3
-3
pcbnew_scripting_helpers.cpp
pcbnew/scripting/pcbnew_scripting_helpers.cpp
+1
-1
No files found.
pcbnew/class_netclass.h
View file @
b2a5b2f3
...
...
@@ -54,9 +54,9 @@ class NETCLASS
{
private
:
// Default values used to init a NETCLASS
const
static
int
DEFAULT_CLEARANCE
;
const
static
int
DEFAULT_VIA_DRILL
;
const
static
int
DEFAULT_UVIA_DRILL
;
static
const
int
DEFAULT_CLEARANCE
;
static
const
int
DEFAULT_VIA_DRILL
;
static
const
int
DEFAULT_UVIA_DRILL
;
protected
:
wxString
m_Name
;
///< Name of the net class
...
...
pcbnew/scripting/pcbnew_scripting_helpers.cpp
View file @
b2a5b2f3
...
...
@@ -86,7 +86,7 @@ bool SaveBoard( wxString& aFileName, BOARD* aBoard,
{
aBoard
->
m_Status_Pcb
&=
~
CONNEXION_OK
;
aBoard
->
SynchronizeNetsAndNetClasses
();
aBoard
->
SetCurrentNetClass
(
aBoard
->
m_NetClasses
.
GetDefault
()
->
GetName
()
);
aBoard
->
GetDesignSettings
().
SetCurrentNetClass
(
NETCLASS
::
Default
);
#if 0
wxString header;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment