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
4b8925dd
Commit
4b8925dd
authored
Feb 26, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
marker location bug
parent
30932a46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drc.cpp
pcbnew/drc.cpp
+5
-5
No files found.
pcbnew/drc.cpp
View file @
4b8925dd
...
...
@@ -685,7 +685,7 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart )
if
(
!
checkMarginToCircle
(
x0
,
y0
,
w_dist
,
dx
)
)
{
m_currentMarker
=
fillMarker
(
aRefSeg
,
track
,
m_currentMarker
=
fillMarker
(
track
,
aRefSeg
,
DRCE_VIA_NEAR_TRACK
,
m_currentMarker
);
return
false
;
}
...
...
@@ -693,10 +693,10 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart )
continue
;
}
/* We compute x0,y0, xf,yf = starting and ending point coordinates for
the segment to test
*
in the new axis : the new X axis is the reference segment
* We must translate and rotate the segment to test
*/
/* We compute x0,y0, xf,yf = starting and ending point coordinates for
*
the segment to test in the new axis : the new X axis is the
*
reference segment.
We must translate and rotate the segment to test
*/
x0
=
track
->
m_Start
.
x
-
org_X
;
y0
=
track
->
m_Start
.
y
-
org_Y
;
...
...
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