Code cleaning. Removed obscure code to draw texts

This commit is contained in:
charras 2008-12-16 20:13:30 +00:00
parent beeaf53a0b
commit 96c80df7ce
1 changed files with 3 additions and 1 deletions

View File

@ -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];