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
cb210042
Commit
cb210042
authored
May 21, 2012
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug added two revisions ago by me
parent
48129681
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
class_netinfo.h
pcbnew/class_netinfo.h
+1
-1
class_netinfo_item.cpp
pcbnew/class_netinfo_item.cpp
+5
-1
No files found.
pcbnew/class_netinfo.h
View file @
cb210042
...
@@ -232,7 +232,7 @@ public:
...
@@ -232,7 +232,7 @@ public:
unsigned
m_RatsnestEndIdx
;
// Ending point of ratsnests of this net
unsigned
m_RatsnestEndIdx
;
// Ending point of ratsnests of this net
// (excluded) in this buffer
// (excluded) in this buffer
NETINFO_ITEM
(
BOARD_ITEM
*
aParent
,
const
wxString
&
aNetName
=
NETCLASS
::
Default
,
int
aNetCode
=
0
);
NETINFO_ITEM
(
BOARD_ITEM
*
aParent
,
const
wxString
&
aNetName
=
wxEmptyString
,
int
aNetCode
=
0
);
~
NETINFO_ITEM
();
~
NETINFO_ITEM
();
/**
/**
...
...
pcbnew/class_netinfo_item.cpp
View file @
cb210042
...
@@ -25,6 +25,10 @@
...
@@ -25,6 +25,10 @@
NETINFO_ITEM
::
NETINFO_ITEM
(
BOARD_ITEM
*
aParent
,
const
wxString
&
aNetName
,
int
aNetCode
)
NETINFO_ITEM
::
NETINFO_ITEM
(
BOARD_ITEM
*
aParent
,
const
wxString
&
aNetName
,
int
aNetCode
)
{
{
SetNet
(
aNetCode
);
SetNet
(
aNetCode
);
if
(
aNetName
.
size
()
)
SetNetname
(
aNetName
);
m_NbNodes
=
0
;
m_NbNodes
=
0
;
m_NbLink
=
0
;
m_NbLink
=
0
;
m_NbNoconn
=
0
;
m_NbNoconn
=
0
;
...
@@ -33,7 +37,7 @@ NETINFO_ITEM::NETINFO_ITEM( BOARD_ITEM* aParent, const wxString& aNetName, int a
...
@@ -33,7 +37,7 @@ NETINFO_ITEM::NETINFO_ITEM( BOARD_ITEM* aParent, const wxString& aNetName, int a
// general buffer of ratsnest
// general buffer of ratsnest
m_RatsnestEndIdx
=
0
;
// Ending point of ratsnests of this net
m_RatsnestEndIdx
=
0
;
// Ending point of ratsnests of this net
m_NetClassName
=
aNetName
;
m_NetClassName
=
NETCLASS
::
Default
;
m_NetClass
=
0
;
m_NetClass
=
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