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
e4508a65
Commit
e4508a65
authored
May 06, 2014
by
Lorenzo Marcantonio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing const caused unpickability of tracks
parent
b933ef85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
class_track.cpp
pcbnew/class_track.cpp
+1
-1
class_track.h
pcbnew/class_track.h
+1
-1
No files found.
pcbnew/class_track.cpp
View file @
e4508a65
...
@@ -1231,7 +1231,7 @@ void VIA::GetMsgPanelInfoBase( std::vector< MSG_PANEL_ITEM >& aList )
...
@@ -1231,7 +1231,7 @@ void VIA::GetMsgPanelInfoBase( std::vector< MSG_PANEL_ITEM >& aList )
}
}
bool
TRACK
::
HitTest
(
const
wxPoint
&
aPosition
)
bool
TRACK
::
HitTest
(
const
wxPoint
&
aPosition
)
const
{
{
return
TestSegmentHit
(
aPosition
,
m_Start
,
m_End
,
m_Width
/
2
);
return
TestSegmentHit
(
aPosition
,
m_Start
,
m_End
,
m_Width
/
2
);
}
}
...
...
pcbnew/class_track.h
View file @
e4508a65
...
@@ -223,7 +223,7 @@ public:
...
@@ -223,7 +223,7 @@ public:
const
KICAD_T
scanTypes
[]
);
const
KICAD_T
scanTypes
[]
);
virtual
bool
HitTest
(
const
wxPoint
&
aPosition
);
virtual
bool
HitTest
(
const
wxPoint
&
aPosition
)
const
;
/** @copydoc BOARD_ITEM::HitTest(const EDA_RECT& aRect,
/** @copydoc BOARD_ITEM::HitTest(const EDA_RECT& aRect,
* bool aContained = true, int aAccuracy ) const
* bool aContained = true, int aAccuracy ) const
...
...
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