]> git.gag.com Git - debian/openrocket/commitdiff
Change the in/64 length unit to not allow decimal representations by constructing...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Tue, 22 May 2012 18:29:57 +0000 (18:29 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Tue, 22 May 2012 18:29:57 +0000 (18:29 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@702 180e2498-e6e9-4542-8430-84ac67f01cd8

core/src/net/sf/openrocket/unit/UnitGroup.java

index 301fe2c08f70bf9a620f9f47fc0293cd3606efaa..67140bad1235a7c9b547f64e597e21ae3754863a 100644 (file)
@@ -85,7 +85,7 @@ public class UnitGroup {
                UNITS_LENGTH.addUnit(new GeneralUnit(0.01, "cm"));
                UNITS_LENGTH.addUnit(new GeneralUnit(1, "m"));
                UNITS_LENGTH.addUnit(new GeneralUnit(0.0254, "in"));
-               UNITS_LENGTH.addUnit(new FractionalUnit(0.0254, "in/64", "in", 64, 1d/16d));
+               UNITS_LENGTH.addUnit(new FractionalUnit(0.0254, "in/64", "in", 64, 1d/16d, 0.5d/64d));
                UNITS_LENGTH.addUnit(new GeneralUnit(0.3048, "ft"));
                UNITS_LENGTH.setDefaultUnit(1);