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
9fba83b5
Commit
9fba83b5
authored
Sep 05, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix pads when parent module is not visible
parent
cbdecfdd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
7 deletions
+20
-7
collectors.cpp
pcbnew/collectors.cpp
+20
-7
No files found.
pcbnew/collectors.cpp
View file @
9fba83b5
...
@@ -69,7 +69,13 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_BaseStruct* testItem, const void*
...
@@ -69,7 +69,13 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_BaseStruct* testItem, const void*
switch
(
item
->
Type
()
)
switch
(
item
->
Type
()
)
{
{
case
TYPEPAD
:
case
TYPEPAD
:
{
MODULE
*
m
=
(
MODULE
*
)
item
->
GetParent
();
if
(
m
->
GetReference
()
==
wxT
(
"Y2"
)
)
{
breakhere
++
;
breakhere
++
;
}
}
break
;
break
;
case
TYPEVIA
:
case
TYPEVIA
:
breakhere
++
;
breakhere
++
;
...
@@ -133,9 +139,17 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_BaseStruct* testItem, const void*
...
@@ -133,9 +139,17 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_BaseStruct* testItem, const void*
{
{
module
=
(
MODULE
*
)
item
->
GetParent
();
module
=
(
MODULE
*
)
item
->
GetParent
();
TEXTE_MODULE
*
tm
=
(
TEXTE_MODULE
*
)
item
;
if
(
m_Guide
->
IgnoreMTextsMarkedNoShow
()
&&
((
TEXTE_MODULE
*
)
item
)
->
m_NoShow
)
if
(
m_Guide
->
IgnoreMTextsMarkedNoShow
()
&&
tm
->
m_NoShow
)
goto
exit
;
if
(
module
)
{
if
(
m_Guide
->
IgnoreMTextsOnCopper
()
&&
module
->
GetLayer
()
==
LAYER_CUIVRE_N
)
goto
exit
;
goto
exit
;
if
(
m_Guide
->
IgnoreMTextsOnCmp
()
&&
module
->
GetLayer
()
==
LAYER_CMP_N
)
goto
exit
;
}
}
}
break
;
break
;
...
@@ -150,12 +164,11 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_BaseStruct* testItem, const void*
...
@@ -150,12 +164,11 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_BaseStruct* testItem, const void*
// common tests:
// common tests:
if
(
module
)
if
(
module
)
// true from case TYPEPAD, TYPETEXTEMODULE, or TYPEMODULE
{
{
if
(
m_Guide
->
IgnoreM
TextsOnCopper
()
&&
module
->
GetLayer
()
==
LAYER_CUIVRE_N
)
if
(
m_Guide
->
IgnoreM
odulesOnCu
()
&&
module
->
GetLayer
()
==
LAYER_CUIVRE_N
)
goto
exit
;
goto
exit
;
if
(
m_Guide
->
IgnoreModulesOnCmp
()
&&
module
->
GetLayer
()
==
LAYER_CMP_N
)
if
(
m_Guide
->
IgnoreMTextsOnCmp
()
&&
module
->
GetLayer
()
==
LAYER_CMP_N
)
goto
exit
;
goto
exit
;
}
}
...
...
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