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
29c8ec42
Commit
29c8ec42
authored
Apr 26, 2014
by
Lorenzo Marcantonio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in via cleanup control flow
parent
c2af94ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
clean.cpp
pcbnew/clean.cpp
+2
-1
No files found.
pcbnew/clean.cpp
View file @
29c8ec42
...
@@ -208,6 +208,8 @@ bool TRACKS_CLEANER::clean_vias()
...
@@ -208,6 +208,8 @@ bool TRACKS_CLEANER::clean_vias()
if
(
via
->
GetViaType
()
!=
VIA_THROUGH
)
if
(
via
->
GetViaType
()
!=
VIA_THROUGH
)
continue
;
continue
;
}
}
else
continue
;
// Search and delete others vias at same location
// Search and delete others vias at same location
TRACK
*
alt_track
=
track
->
Next
();
TRACK
*
alt_track
=
track
->
Next
();
...
@@ -219,7 +221,6 @@ bool TRACKS_CLEANER::clean_vias()
...
@@ -219,7 +221,6 @@ bool TRACKS_CLEANER::clean_vias()
VIA
*
alt_via
=
dynamic_cast
<
VIA
*>
(
alt_track
);
VIA
*
alt_via
=
dynamic_cast
<
VIA
*>
(
alt_track
);
if
(
alt_via
)
if
(
alt_via
)
{
{
if
(
alt_via
->
GetViaType
()
!=
VIA_THROUGH
)
if
(
alt_via
->
GetViaType
()
!=
VIA_THROUGH
)
continue
;
continue
;
...
...
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