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:
parent
dfe4b3412a
commit
47fe01f793
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue