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
63bc40b5
Commit
63bc40b5
authored
Feb 03, 2014
by
Maciej Suminski
Committed by
Dick Hollenbeck
Feb 03, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Takes into account hidden module text settings.
parents
15bfac3f
8e601974
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
17 deletions
+24
-17
class_text_mod.cpp
pcbnew/class_text_mod.cpp
+23
-16
ratsnest_data.cpp
pcbnew/ratsnest_data.cpp
+1
-1
No files found.
pcbnew/class_text_mod.cpp
View file @
63bc40b5
...
...
@@ -417,6 +417,12 @@ EDA_ITEM* TEXTE_MODULE::Clone() const
void
TEXTE_MODULE
::
ViewGetLayers
(
int
aLayers
[],
int
&
aCount
)
const
{
if
(
m_NoShow
)
// Hidden text
{
aLayers
[
0
]
=
ITEM_GAL_LAYER
(
MOD_TEXT_INVISIBLE
);
}
else
{
switch
(
m_Type
)
{
case
TEXT_is_REFERENCE
:
...
...
@@ -440,6 +446,7 @@ void TEXTE_MODULE::ViewGetLayers( int aLayers[], int& aCount ) const
}
break
;
}
}
aCount
=
1
;
}
pcbnew/ratsnest_data.cpp
View file @
63bc40b5
...
...
@@ -240,7 +240,7 @@ void RN_NET::compute()
return
;
}
else
if
(
boardNodes
.
size
()
=
=
1
)
// This case is even simpler
else
if
(
boardNodes
.
size
()
<
=
1
)
// This case is even simpler
{
m_rnEdges
.
reset
(
new
std
::
vector
<
RN_EDGE_PTR
>
(
0
)
);
...
...
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