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
c5681a32
Commit
c5681a32
authored
Sep 09, 2014
by
Lorenzo Marcantonio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backed out assembly plot patch
parent
fb590c72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
CMakeLists.txt
CMakeLists.txt
+1
-1
plot_brditems_plotter.cpp
pcbnew/plot_brditems_plotter.cpp
+1
-13
No files found.
CMakeLists.txt
View file @
c5681a32
...
...
@@ -508,7 +508,7 @@ set( wxWidgets_CONFIG_OPTIONS --static=no )
if
(
APPLE
AND
(
KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES OR KICAD_SCRIPTING_WXPYTHON
)
)
find_package
(
wxWidgets COMPONENTS gl adv html core net base xml QUIET
)
else
()
find_package
(
wxWidgets COMPONENTS gl a
ui a
dv html core net base xml QUIET
)
find_package
(
wxWidgets COMPONENTS gl adv html core net base xml QUIET
)
endif
()
if
(
NOT
(
KICAD_BUILD_STATIC OR KICAD_BUILD_DYNAMIC
)
)
...
...
pcbnew/plot_brditems_plotter.cpp
View file @
c5681a32
...
...
@@ -124,13 +124,6 @@ bool BRDITEMS_PLOTTER::PlotAllTextsModule( MODULE* aModule )
if
(
textLayer
>
LAYER_ID_COUNT
)
// how will this ever be true?
return
false
;
// Special rule: assembly always shows reference from the silk layer
if
(
(
m_layerMask
[
F_Fab
])
&&
(
textLayer
==
F_SilkS
)
)
trace_ref
=
true
;
if
(
(
m_layerMask
[
B_Fab
])
&&
(
textLayer
==
B_SilkS
)
)
trace_ref
=
true
;
if
(
!
m_layerMask
[
textLayer
]
)
trace_val
=
false
;
...
...
@@ -223,11 +216,6 @@ void BRDITEMS_PLOTTER::PlotTextModule( TEXTE_MODULE* pt_texte, EDA_COLOR_T aColo
// calculate some text parameters :
size
=
pt_texte
->
GetSize
();
// Assembly drawings always have the reference on the origin
if
(
m_layerMask
[
F_Fab
]
||
m_layerMask
[
B_Fab
]
)
pos
=
static_cast
<
MODULE
*>
(
pt_texte
->
GetParent
()
)
->
GetPosition
();
else
pos
=
pt_texte
->
GetTextPosition
();
orient
=
pt_texte
->
GetDrawRotation
();
...
...
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