Don't attempt to render degenerate 3D shapes.
Sentry KICAD-382
(cherry picked from commit 70bbaae670
)
This commit is contained in:
parent
4d46e0ceb7
commit
058a0bbf93
|
@ -626,7 +626,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