Commit 96c80df7 authored by charras's avatar charras

Code cleaning. Removed obscure code to draw texts

parent beeaf53a
......@@ -421,9 +421,11 @@ static void Draw3dTextSegm( int x0, int y0, int xf, int yf )
void Pcb3D_GLCanvas::Draw3D_DrawText( TEXTE_PCB* text )
/*************************************************************/
{
int layer = text->GetLayer();
if( !Get3DLayerEnable( layer ) )
return;
int layer = text->GetLayer();
int color = g_Parm_3D_Visu.m_BoardSettings->m_LayerColor[layer];
......
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