Commit c5681a32 authored by Lorenzo Marcantonio's avatar Lorenzo Marcantonio

Backed out assembly plot patch

parent fb590c72
...@@ -508,7 +508,7 @@ set( wxWidgets_CONFIG_OPTIONS --static=no ) ...@@ -508,7 +508,7 @@ set( wxWidgets_CONFIG_OPTIONS --static=no )
if( APPLE AND ( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES OR KICAD_SCRIPTING_WXPYTHON) ) 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 ) find_package( wxWidgets COMPONENTS gl adv html core net base xml QUIET )
else() else()
find_package( wxWidgets COMPONENTS gl aui adv html core net base xml QUIET ) find_package( wxWidgets COMPONENTS gl adv html core net base xml QUIET )
endif() endif()
if( NOT (KICAD_BUILD_STATIC OR KICAD_BUILD_DYNAMIC) ) if( NOT (KICAD_BUILD_STATIC OR KICAD_BUILD_DYNAMIC) )
......
...@@ -124,13 +124,6 @@ bool BRDITEMS_PLOTTER::PlotAllTextsModule( MODULE* aModule ) ...@@ -124,13 +124,6 @@ bool BRDITEMS_PLOTTER::PlotAllTextsModule( MODULE* aModule )
if( textLayer > LAYER_ID_COUNT ) // how will this ever be true? if( textLayer > LAYER_ID_COUNT ) // how will this ever be true?
return false; 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] ) if( !m_layerMask[textLayer] )
trace_val = false; trace_val = false;
...@@ -223,11 +216,6 @@ void BRDITEMS_PLOTTER::PlotTextModule( TEXTE_MODULE* pt_texte, EDA_COLOR_T aColo ...@@ -223,11 +216,6 @@ void BRDITEMS_PLOTTER::PlotTextModule( TEXTE_MODULE* pt_texte, EDA_COLOR_T aColo
// calculate some text parameters : // calculate some text parameters :
size = pt_texte->GetSize(); 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(); pos = pt_texte->GetTextPosition();
orient = pt_texte->GetDrawRotation(); orient = pt_texte->GetDrawRotation();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment