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
09f2af3c
Commit
09f2af3c
authored
Mar 30, 2015
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed invisible tracks in PNS.
parent
f3b4aff7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
router_preview_item.cpp
pcbnew/router/router_preview_item.cpp
+5
-1
router_preview_item.h
pcbnew/router/router_preview_item.h
+3
-3
No files found.
pcbnew/router/router_preview_item.cpp
View file @
09f2af3c
...
@@ -241,7 +241,7 @@ void ROUTER_PREVIEW_ITEM::Line( const SHAPE_LINE_CHAIN& aLine, int aWidth, int a
...
@@ -241,7 +241,7 @@ void ROUTER_PREVIEW_ITEM::Line( const SHAPE_LINE_CHAIN& aLine, int aWidth, int a
m_width
=
aWidth
;
m_width
=
aWidth
;
m_color
=
assignColor
(
aStyle
);
m_color
=
assignColor
(
aStyle
);
m_type
=
PR_SHAPE
;
m_type
=
PR_SHAPE
;
m_depth
=
-
2047
;
m_depth
=
-
BaseOverlayDepth
;
m_shape
=
aLine
.
Clone
();
m_shape
=
aLine
.
Clone
();
ViewSetVisible
(
true
);
ViewSetVisible
(
true
);
...
@@ -306,3 +306,7 @@ const COLOR4D ROUTER_PREVIEW_ITEM::assignColor( int aStyle ) const
...
@@ -306,3 +306,7 @@ const COLOR4D ROUTER_PREVIEW_ITEM::assignColor( int aStyle ) const
return
color
;
return
color
;
}
}
const
int
ROUTER_PREVIEW_ITEM
::
ClearanceOverlayDepth
=
-
200
;
const
int
ROUTER_PREVIEW_ITEM
::
BaseOverlayDepth
=
-
210
;
const
int
ROUTER_PREVIEW_ITEM
::
ViaOverlayDepth
=
-
246
;
pcbnew/router/router_preview_item.h
View file @
09f2af3c
...
@@ -114,9 +114,9 @@ private:
...
@@ -114,9 +114,9 @@ private:
int
m_clearance
;
int
m_clearance
;
// fixme: shouldn't this go to VIEW?
// fixme: shouldn't this go to VIEW?
static
const
int
ClearanceOverlayDepth
=
-
2000
;
static
const
int
ClearanceOverlayDepth
;
static
const
int
BaseOverlayDepth
=
-
2010
;
static
const
int
BaseOverlayDepth
;
static
const
int
ViaOverlayDepth
=
-
2046
;
static
const
int
ViaOverlayDepth
;
double
m_depth
;
double
m_depth
;
...
...
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