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
46eabaa4
Commit
46eabaa4
authored
Jul 08, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed 'disappearing via' issue.
parent
fb1f4ad8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
class_track.cpp
pcbnew/class_track.cpp
+8
-0
class_track.h
pcbnew/class_track.h
+3
-0
No files found.
pcbnew/class_track.cpp
View file @
46eabaa4
...
@@ -1001,6 +1001,14 @@ void SEGVIA::ViewGetLayers( int aLayers[], int& aCount ) const
...
@@ -1001,6 +1001,14 @@ void SEGVIA::ViewGetLayers( int aLayers[], int& aCount ) const
}
}
void
SEGVIA
::
ViewGetRequiredLayers
(
int
aLayers
[],
int
&
aCount
)
const
{
// The only required layer is via itself, holes are optional
aLayers
[
0
]
=
ITEM_GAL_LAYER
(
VIAS_VISIBLE
);
aCount
=
1
;
}
// see class_track.h
// see class_track.h
void
TRACK
::
GetMsgPanelInfo
(
std
::
vector
<
MSG_PANEL_ITEM
>&
aList
)
void
TRACK
::
GetMsgPanelInfo
(
std
::
vector
<
MSG_PANEL_ITEM
>&
aList
)
{
{
...
...
pcbnew/class_track.h
View file @
46eabaa4
...
@@ -424,6 +424,9 @@ public:
...
@@ -424,6 +424,9 @@ public:
/// @copydoc VIEW_ITEM::ViewGetLayers()
/// @copydoc VIEW_ITEM::ViewGetLayers()
virtual
void
ViewGetLayers
(
int
aLayers
[],
int
&
aCount
)
const
;
virtual
void
ViewGetLayers
(
int
aLayers
[],
int
&
aCount
)
const
;
/// @copydoc VIEW_ITEM::ViewGetRequiredLayers()
virtual
void
ViewGetRequiredLayers
(
int
aLayers
[],
int
&
aCount
)
const
;
#if defined (DEBUG)
#if defined (DEBUG)
virtual
void
Show
(
int
nestLevel
,
std
::
ostream
&
os
)
const
{
ShowDummy
(
os
);
}
// override
virtual
void
Show
(
int
nestLevel
,
std
::
ostream
&
os
)
const
{
ShowDummy
(
os
);
}
// override
#endif
#endif
...
...
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