[fix] may now always edit a FreeformFinSet's p[0]. Again.
This commit is contained in:
parent
01fd20ebcc
commit
3b342391b1
@ -425,12 +425,6 @@ public class FreeformFinSetConfig extends FinSetConfig {
|
||||
Point2D.Double point = getCoordinates(event);
|
||||
finset.setPoint(dragIndex, point.x, point.y);
|
||||
|
||||
final double bodyFront = -finset.getAxialFront();
|
||||
|
||||
if(0 == dragIndex && bodyFront > point.x){
|
||||
dragIndex = 1;
|
||||
}
|
||||
|
||||
updateFields();
|
||||
}
|
||||
|
||||
@ -449,7 +443,6 @@ public class FreeformFinSetConfig extends FinSetConfig {
|
||||
// if ctrl+click, delete point
|
||||
try {
|
||||
Point2D.Double point = getCoordinates(event);
|
||||
System.err.println(String.format("---- Removing Point %d @ %g, %g", clickIndex, point.x, point.y));
|
||||
finset.removePoint(clickIndex);
|
||||
} catch (IllegalFinPointException ignore) {
|
||||
log.error("Ignoring IllegalFinPointException while dragging, dragIndex=" + dragIndex + ". This is likely an internal error.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user