Fixed a shadowed variable warning

This commit is contained in:
Maciej Suminski 2018-09-10 10:06:17 +02:00
parent 4eece522df
commit 18c38bd60e
1 changed files with 2 additions and 2 deletions

View File

@ -138,9 +138,9 @@ void Convert_shape_line_polygon_to_triangles( SHAPE_POLY_SET &aPolyList,
aPolyList.CacheTriangulation();
const double conver_d = (double)aBiuTo3DunitsScale;
for( unsigned int i = 0; i < aPolyList.TriangulatedPolyCount(); i++ )
for( unsigned int j = 0; j < aPolyList.TriangulatedPolyCount(); j++ )
{
auto triPoly = aPolyList.TriangulatedPolygon( i );
auto triPoly = aPolyList.TriangulatedPolygon( j );
for( size_t i = 0; i < triPoly->GetTriangleCount(); i++ )
{