Fix crash with missing board outline
This commit is contained in:
parent
9a4f92dfd9
commit
cd51785173
|
@ -783,7 +783,7 @@ bool BuildBoardPolygonOutlines( BOARD* aBoard, SHAPE_POLY_SET& aOutlines, wxStri
|
|||
success = ConvertOutlineToPolygon( segList, aOutlines, aErrorText, aTolerance,
|
||||
aErrorLocation );
|
||||
}
|
||||
else
|
||||
else if( aErrorText )
|
||||
{
|
||||
*aErrorText = _( "No edges found on Edge.Cuts layer." );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue