Fix typo causing isolated thermal removal to not work

Fixes: lp:1741265
* https://bugs.launchpad.net/kicad/+bug/1741265
This commit is contained in:
Jon Evans 2018-01-06 10:33:00 -05:00 committed by jean-pierre charras
parent c3d0489863
commit 47b8b6dc6a
1 changed files with 1 additions and 1 deletions

View File

@ -1085,7 +1085,7 @@ void ZONE_FILLER::buildUnconnectedThermalStubsPolygonList( SHAPE_POLY_SET& aCorn
// add computed polygon to list
for( int ic = 0; ic < spokes.PointCount(); ic++ )
{
auto cpos = spokes.CPoint( i );
auto cpos = spokes.CPoint( ic );
RotatePoint( cpos, fAngle ); // Rotate according to module orientation
cpos += pad->ShapePos(); // Shift origin to position
aCornerBuffer.Append( cpos );