mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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…
x
Reference in New Issue
Block a user