Change epsilon in the row filter to be 5mm instead of 1mm.
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 11 May 2012 18:05:44 +0000 (18:05 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 11 May 2012 18:05:44 +0000 (18:05 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@672 180e2498-e6e9-4542-8430-84ac67f01cd8

core/src/net/sf/openrocket/gui/dialogs/preset/ComponentPresetRowFilter.java

index 2b1f6a7829e6d4b293b76c5f39b36d4d90030a9c..283ec027901fb91265fb01b89fab79c695434ac7 100644 (file)
@@ -9,9 +9,8 @@ public class ComponentPresetRowFilter extends RowFilter<TableModel, Object> {
        
        private final double value;
        private final int column;
-       // I chose epsilon to be 0.001 units.  Since this is mostly used with lengths, it represents
-       // 1 mm.
-       private final double epsilon = .001;
+       // I chose epsilon to be 0.005 units.  Since this is mostly used diameters, it represents 5mm.
+       private final double epsilon = .005;
        
        ComponentPresetRowFilter( double value, int column ) {
                this.value = value;