Minor fix: remove reference to GLdebug()

This commit is contained in:
Cirilo Bernardo 2015-12-08 18:56:30 +11:00
parent 69cc788e8e
commit 6e5473f646
1 changed files with 10 additions and 11 deletions

View File

@ -1133,20 +1133,19 @@ void EDA_3D_CANVAS::render3DComponentShape( MODULE* module,
* be replaced anyway so all debugging of 3D Plugins should be
* done via the new rendering system
*/
if( 0 )
#if 0
if( isEnabled( FL_RENDER_SHOW_MODEL_BBOX ) )
{
if( isEnabled( FL_RENDER_SHOW_MODEL_BBOX ) )
{
// Set the alpha current color to opaque
float currentColor[4];
glGetFloatv( GL_CURRENT_COLOR,currentColor );
currentColor[3] = 1.0f;
glColor4fv( currentColor );
// Set the alpha current color to opaque
float currentColor[4];
glGetFloatv( GL_CURRENT_COLOR,currentColor );
currentColor[3] = 1.0f;
glColor4fv( currentColor );
CBBOX thisBBox = shape3D->getBBox();
thisBBox.GLdebug();
}
CBBOX thisBBox = shape3D->getBBox();
thisBBox.GLdebug();
}
#endif
glPopMatrix();