Merge pull request #495 from teyrana/fix_fin_zero
[fix][minor] May correctly adjust first fin point
This commit is contained in:
commit
bc22b49a76
@ -424,7 +424,8 @@ public class FreeformFinSetConfig extends FinSetConfig {
|
|||||||
Point2D.Double point = getCoordinates(event);
|
Point2D.Double point = getCoordinates(event);
|
||||||
finset.setPoint(dragIndex, point.x, point.y);
|
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;
|
dragIndex = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user