Merge pull request #1247 from JoePfeiffer/fix-1243
Get correct fin span when last point in shape is lower than first point.
This commit is contained in:
commit
50af4f1f1f
@ -296,7 +296,8 @@ public class FreeformFinSet extends FinSet {
|
||||
if (c.y > max)
|
||||
max = c.y;
|
||||
}
|
||||
return max;
|
||||
|
||||
return max - Math.min(points.get(points.size() - 1).y, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user