Merge pull request #495 from teyrana/fix_fin_zero

[fix][minor] May correctly adjust first fin point
This commit is contained in:
Wes Cravens 2018-12-21 12:16:41 -06:00 committed by GitHub
commit bc22b49a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -424,7 +424,8 @@ public class FreeformFinSetConfig extends FinSetConfig {
Point2D.Double point = getCoordinates(event);
finset.setPoint(dragIndex, point.x, point.y);
if(0 == dragIndex && 0 > point.x){
final double bodyFront = -finset.getAxialFront();
if(0 == dragIndex && bodyFront > point.x){
dragIndex = 1;
}