3d-viewer: Fix a regression: grid was not updated ( now updated by calling CreateDrawGL_List )
This commit is contained in:
parent
355bd47e16
commit
fe6cf2f5f8
|
@ -553,8 +553,13 @@ void EDA_3D_CANVAS::Redraw()
|
||||||
|
|
||||||
// Grid uses transparency: draw it after all objects
|
// Grid uses transparency: draw it after all objects
|
||||||
|
|
||||||
if( isEnabled( FL_GRID ) && m_glLists[GL_ID_GRID] )
|
if( isEnabled( FL_GRID ) )
|
||||||
|
{
|
||||||
|
if( ! m_glLists[GL_ID_GRID] )
|
||||||
|
CreateDrawGL_List( &errorReporter, &activityReporter );
|
||||||
|
|
||||||
glCallList( m_glLists[GL_ID_GRID] );
|
glCallList( m_glLists[GL_ID_GRID] );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Draw Board Shadow
|
// Draw Board Shadow
|
||||||
|
|
|
@ -75,7 +75,7 @@ bool PCB_EDIT_FRAME::SetTrackSegmentWidth( TRACK* aTrackItem,
|
||||||
|
|
||||||
// Micro vias have a size only defined in their netclass
|
// Micro vias have a size only defined in their netclass
|
||||||
// (no specific values defined by a table of specific value)
|
// (no specific values defined by a table of specific value)
|
||||||
// Ensure the netcall is accessible:
|
// Ensure the netclass is accessible:
|
||||||
if( via->GetViaType() == VIA_MICROVIA && net == NULL )
|
if( via->GetViaType() == VIA_MICROVIA && net == NULL )
|
||||||
net = aTrackItem->GetNet();
|
net = aTrackItem->GetNet();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue