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
6c4808bd
Commit
6c4808bd
authored
Nov 26, 2014
by
Angus Gratton
Committed by
Maciej Suminski
Nov 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pns: Non-copper pads are not treated as obstacles.
parent
03f7003c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
pns_router.cpp
pcbnew/router/pns_router.cpp
+5
-0
No files found.
pcbnew/router/pns_router.cpp
View file @
6c4808bd
...
@@ -127,15 +127,20 @@ PNS_ITEM* PNS_ROUTER::syncPad( D_PAD* aPad )
...
@@ -127,15 +127,20 @@ PNS_ITEM* PNS_ROUTER::syncPad( D_PAD* aPad )
case
PAD_CONN
:
case
PAD_CONN
:
{
{
LSET
lmsk
=
aPad
->
GetLayerSet
();
LSET
lmsk
=
aPad
->
GetLayerSet
();
bool
is_copper
=
false
;
for
(
int
i
=
0
;
i
<
MAX_CU_LAYERS
;
i
++
)
for
(
int
i
=
0
;
i
<
MAX_CU_LAYERS
;
i
++
)
{
{
if
(
lmsk
[
i
]
)
if
(
lmsk
[
i
]
)
{
{
is_copper
=
true
;
layers
=
PNS_LAYERSET
(
i
);
layers
=
PNS_LAYERSET
(
i
);
break
;
break
;
}
}
}
}
if
(
!
is_copper
)
return
NULL
;
}
}
break
;
break
;
...
...
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