Don't attempt to render degenerate 3D shapes.
Sentry KICAD-382
This commit is contained in:
parent
ea6d64e996
commit
70bbaae670
|
@ -654,7 +654,7 @@ void BOARD_ADAPTER::addShape( const PCB_SHAPE* aShape, CONTAINER_2D_BASE* aConta
|
|||
if( inner_radius3DU < 0 )
|
||||
inner_radius3DU = 0.0;
|
||||
|
||||
if( outer_radius3DU == 0.0 )
|
||||
if( outer_radius3DU <= inner_radius3DU )
|
||||
{
|
||||
// Don't attempt to render degenerate shapes
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue