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
8d90da0a
Commit
8d90da0a
authored
Jan 08, 2008
by
CHARRAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reorder GENERAL_COLLECTOR lists in collectors.cpp due to markers change
parent
82a268a6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
134 additions
and
113 deletions
+134
-113
class_mire.cpp
pcbnew/class_mire.cpp
+0
-1
collectors.cpp
pcbnew/collectors.cpp
+131
-112
zones_by_polygon.cpp
pcbnew/zones_by_polygon.cpp
+3
-0
No files found.
pcbnew/class_mire.cpp
View file @
8d90da0a
...
@@ -215,7 +215,6 @@ bool MIREPCB::HitTest( const wxPoint& refPos )
...
@@ -215,7 +215,6 @@ bool MIREPCB::HitTest( const wxPoint& refPos )
int
dX
=
refPos
.
x
-
m_Pos
.
x
;
int
dX
=
refPos
.
x
-
m_Pos
.
x
;
int
dY
=
refPos
.
y
-
m_Pos
.
y
;
int
dY
=
refPos
.
y
-
m_Pos
.
y
;
int
rayon
=
m_Size
/
2
;
int
rayon
=
m_Size
/
2
;
return
abs
(
dX
)
<=
rayon
&&
abs
(
dY
)
<=
rayon
;
return
abs
(
dX
)
<=
rayon
&&
abs
(
dY
)
<=
rayon
;
}
}
...
...
pcbnew/collectors.cpp
View file @
8d90da0a
This diff is collapsed.
Click to expand it.
pcbnew/zones_by_polygon.cpp
View file @
8d90da0a
...
@@ -459,12 +459,15 @@ EDGE_ZONE* WinEDA_PcbFrame::Begin_Zone( wxDC* DC )
...
@@ -459,12 +459,15 @@ EDGE_ZONE* WinEDA_PcbFrame::Begin_Zone( wxDC* DC )
if
(
diag
==
ZONE_ABORT
)
if
(
diag
==
ZONE_ABORT
)
return
NULL
;
return
NULL
;
GetScreen
()
->
m_Active_Layer
=
s_Zone_Layer
;
// Set by the dialog frame
}
}
else
/* Start a new contour: init zone params (net and layer) from an existing zone */
else
/* Start a new contour: init zone params (net and layer) from an existing zone */
{
{
GetScreen
()
->
m_Active_Layer
=
s_Zone_Layer
=
s_CurrentZone
->
GetLayer
();
GetScreen
()
->
m_Active_Layer
=
s_Zone_Layer
=
s_CurrentZone
->
GetLayer
();
s_Zone_Hatching
=
s_CurrentZone
->
m_Poly
->
GetHatchStyle
();
s_Zone_Hatching
=
s_CurrentZone
->
m_Poly
->
GetHatchStyle
();
}
}
/* Show the Net */
/* Show the Net */
if
(
g_HightLigt_Status
&&
(
g_HightLigth_NetCode
!=
s_NetcodeSelection
)
)
if
(
g_HightLigt_Status
&&
(
g_HightLigth_NetCode
!=
s_NetcodeSelection
)
)
{
{
...
...
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