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
ab51a49c
Commit
ab51a49c
authored
Jun 24, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix zones
parent
4578ea8b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
class_module.cpp
pcbnew/class_module.cpp
+1
-1
class_zone.h
pcbnew/class_zone.h
+1
-1
No files found.
pcbnew/class_module.cpp
View file @
ab51a49c
...
@@ -595,7 +595,7 @@ D_PAD* MODULE::GetPad( const wxPoint& aPosition, LSET aLayerMask )
...
@@ -595,7 +595,7 @@ D_PAD* MODULE::GetPad( const wxPoint& aPosition, LSET aLayerMask )
for
(
D_PAD
*
pad
=
m_Pads
;
pad
;
pad
=
pad
->
Next
()
)
for
(
D_PAD
*
pad
=
m_Pads
;
pad
;
pad
=
pad
->
Next
()
)
{
{
// ... and on the correct layer.
// ... and on the correct layer.
if
(
(
pad
->
GetLayerSet
()
&
aLayerMask
)
==
0
)
if
(
!
(
pad
->
GetLayerSet
()
&
aLayerMask
).
any
()
)
continue
;
continue
;
if
(
pad
->
HitTest
(
aPosition
)
)
if
(
pad
->
HitTest
(
aPosition
)
)
...
...
pcbnew/class_zone.h
View file @
ab51a49c
...
@@ -183,7 +183,7 @@ public:
...
@@ -183,7 +183,7 @@ public:
*/
*/
bool
IsOnCopperLayer
()
const
bool
IsOnCopperLayer
()
const
{
{
return
LSET
::
AllNonCuMask
()[
GetLayer
()]
;
return
IsCopperLayer
(
GetLayer
()
)
;
}
}
/// How to fill areas: 0 = use filled polygons, 1 => fill with segments.
/// How to fill areas: 0 = use filled polygons, 1 => fill with segments.
...
...
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