Fix crash with missing board outline

This commit is contained in:
Seth Hillbrand 2020-08-21 05:55:22 -07:00
parent 9a4f92dfd9
commit cd51785173
1 changed files with 1 additions and 1 deletions

View File

@ -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." );
}