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
f43cf037
Commit
f43cf037
authored
Jun 16, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specctra export crash, when a non copper zone was found on the board to export.
parent
a91eabb8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
specctra_export.cpp
pcbnew/specctra_export.cpp
+4
-0
No files found.
pcbnew/specctra_export.cpp
View file @
f43cf037
...
@@ -1556,6 +1556,10 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IO_ERROR )
...
@@ -1556,6 +1556,10 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IO_ERROR )
if
(
item
->
GetIsKeepout
()
)
if
(
item
->
GetIsKeepout
()
)
continue
;
continue
;
// Currently, we export only copper layers
if
(
!
IsCopperLayer
(
item
->
GetLayer
()
)
)
continue
;
COPPER_PLANE
*
plane
=
new
COPPER_PLANE
(
pcb
->
structure
);
COPPER_PLANE
*
plane
=
new
COPPER_PLANE
(
pcb
->
structure
);
pcb
->
structure
->
planes
.
push_back
(
plane
);
pcb
->
structure
->
planes
.
push_back
(
plane
);
...
...
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