[fixes #1092] Draw root edge of fin tab

This commit is contained in:
Sibo Van Gool 2022-01-29 14:24:21 +01:00
parent 4332732ade
commit c112db32ed

View File

@ -909,7 +909,7 @@ public abstract class FinSet extends ExternalComponent implements AxialPositiona
return new Coordinate[]{}; return new Coordinate[]{};
} }
final int pointCount = 4; final int pointCount = 5;
Coordinate[] points = new Coordinate[pointCount]; Coordinate[] points = new Coordinate[pointCount];
final Coordinate finFront = this.getFinFront(); final Coordinate finFront = this.getFinFront();
@ -932,6 +932,7 @@ public abstract class FinSet extends ExternalComponent implements AxialPositiona
points[1] = new Coordinate(xTabFront, yTabBottom ); points[1] = new Coordinate(xTabFront, yTabBottom );
points[2] = new Coordinate(xTabTrail, yTabBottom ); points[2] = new Coordinate(xTabTrail, yTabBottom );
points[3] = new Coordinate(xTabTrail, yTabTrail); points[3] = new Coordinate(xTabTrail, yTabTrail);
points[4] = new Coordinate(xTabFront, yTabFront);
return points; return points;
} }