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
e6602b0c
Commit
e6602b0c
authored
Mar 05, 2008
by
lifekidyeaa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a logical bug in the creation of drill files.
parent
bbb131b2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
61 deletions
+62
-61
dialog_gendrill.cpp
pcbnew/dialog_gendrill.cpp
+1
-1
gendrill.cpp
pcbnew/gendrill.cpp
+59
-59
makefile.include
pcbnew/makefile.include
+2
-1
No files found.
pcbnew/dialog_gendrill.cpp
View file @
e6602b0c
...
...
@@ -73,7 +73,7 @@ WinEDA_DrillFrame::WinEDA_DrillFrame( WinEDA_PcbFrame* parent, wxWindowID id,
const
wxString
&
caption
,
const
wxPoint
&
pos
,
const
wxSize
&
size
,
long
style
)
{
m_Parent
=
parent
;
SetFont
(
*
g_DialogFont
);
//
SetFont( *g_DialogFont );
SetReturnCode
(
1
);
Init
();
...
...
pcbnew/gendrill.cpp
View file @
e6602b0c
...
...
@@ -286,9 +286,8 @@ void WinEDA_DrillFrame::GenDrillFiles( wxCommandEvent& event )
{
Build_Holes_List
(
m_Parent
->
m_Pcb
,
s_HoleListBuffer
,
s_ToolListBuffer
,
layer1
,
layer2
,
gen_through_holes
?
false
:
true
);
if
(
s_ToolListBuffer
.
size
()
==
0
)
// No holes !
continue
;
if
(
s_ToolListBuffer
.
size
()
>
0
)
//holes?
{
FullFileName
=
m_Parent
->
m_CurrentScreen
->
m_FileName
;
layer_extend
.
Empty
();
if
(
!
gen_through_holes
)
...
...
@@ -345,6 +344,7 @@ void WinEDA_DrillFrame::GenDrillFiles( wxCommandEvent& event )
if
(
!
ExistsBuriedVias
)
break
;
}
if
(
gen_through_holes
)
layer2
=
layer1
+
1
;
else
...
...
pcbnew/makefile.include
View file @
e6602b0c
...
...
@@ -116,7 +116,8 @@ OBJECTS= $(TARGET).o classpcb.o\
modedit.o
\
export_gencad.o
\
hotkeys.o
\
collectors.o
collectors.o
\
set_color.o
...
...
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