Minor fix: remove reference to GLdebug()
This commit is contained in:
parent
69cc788e8e
commit
6e5473f646
|
@ -1133,20 +1133,19 @@ void EDA_3D_CANVAS::render3DComponentShape( MODULE* module,
|
||||||
* be replaced anyway so all debugging of 3D Plugins should be
|
* be replaced anyway so all debugging of 3D Plugins should be
|
||||||
* done via the new rendering system
|
* 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];
|
||||||
// Set the alpha current color to opaque
|
glGetFloatv( GL_CURRENT_COLOR,currentColor );
|
||||||
float currentColor[4];
|
currentColor[3] = 1.0f;
|
||||||
glGetFloatv( GL_CURRENT_COLOR,currentColor );
|
glColor4fv( currentColor );
|
||||||
currentColor[3] = 1.0f;
|
|
||||||
glColor4fv( currentColor );
|
|
||||||
|
|
||||||
CBBOX thisBBox = shape3D->getBBox();
|
CBBOX thisBBox = shape3D->getBBox();
|
||||||
thisBBox.GLdebug();
|
thisBBox.GLdebug();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue