X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=inline;f=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fproperty%2FQuatPropertyManipulator.java;fp=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fproperty%2FQuatPropertyManipulator.java;h=8c3359925f43915e12d357849d773d44c7fe469d;hb=5fcc8f4cf9d511d50cdf47b0f8152ea0f287199a;hp=2104fbcaf6f55651ca8ec066f86fec944467f80c;hpb=939157c2981148dbd372ee1b3c92ed6cf13d8b4e;p=simantics%2F3d.git diff --git a/org.simantics.g3d/src/org/simantics/g3d/property/QuatPropertyManipulator.java b/org.simantics.g3d/src/org/simantics/g3d/property/QuatPropertyManipulator.java index 2104fbca..8c335992 100644 --- a/org.simantics.g3d/src/org/simantics/g3d/property/QuatPropertyManipulator.java +++ b/org.simantics.g3d/src/org/simantics/g3d/property/QuatPropertyManipulator.java @@ -158,7 +158,7 @@ public class QuatPropertyManipulator implements PropertyManipulator { default: break; } - return Double.toString(d); + return Double.toString(MathTools.round(d, 10)); } catch (Exception e) { return null; }