From 3b342391b19144fd295c3a28be1de37156bd8872 Mon Sep 17 00:00:00 2001 From: Daniel M Williams Date: Tue, 1 Jan 2019 17:03:44 -0500 Subject: [PATCH] [fix] may now always edit a FreeformFinSet's p[0]. Again. --- .../openrocket/gui/configdialog/FreeformFinSetConfig.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/swing/src/net/sf/openrocket/gui/configdialog/FreeformFinSetConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/FreeformFinSetConfig.java index 26deb3540..37ccc6118 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/FreeformFinSetConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/FreeformFinSetConfig.java @@ -424,13 +424,7 @@ 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.");