3d-viewer: Remove duplicate call

Simplify is called by GetBoardPolygonOutlines(), it does not need to be
called a second time.
This commit is contained in:
Seth Hillbrand 2018-12-09 07:52:58 -08:00
parent dfe4b3412a
commit 47fe01f793
1 changed files with 0 additions and 3 deletions

View File

@ -463,9 +463,6 @@ void CINFO3D_VISU::createBoardPolygon()
wxLogMessage( errmsg ); wxLogMessage( errmsg );
} }
// Be sure the polygon is strictly simple to avoid issues.
m_board_poly.Simplify( SHAPE_POLY_SET::PM_STRICTLY_SIMPLE );
Polygon_Calc_BBox_3DU( m_board_poly, m_board2dBBox3DU, m_biuTo3Dunits ); Polygon_Calc_BBox_3DU( m_board_poly, m_board2dBBox3DU, m_biuTo3Dunits );
} }