X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fproperty%2FQuatPropertyManipulator.java;h=8c3359925f43915e12d357849d773d44c7fe469d;hb=refs%2Fchanges%2F88%2F3688%2F2;hp=ca792ef77f3a100c31c04a725331f04b9975ea81;hpb=87b3241ec277ba3d8e414b26186a032c9cdcaeed;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 ca792ef7..8c335992 100644 --- a/org.simantics.g3d/src/org/simantics/g3d/property/QuatPropertyManipulator.java +++ b/org.simantics.g3d/src/org/simantics/g3d/property/QuatPropertyManipulator.java @@ -1,3 +1,14 @@ +/******************************************************************************* + * Copyright (c) 2012, 2013 Association for Decentralized Information Management in + * Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ package org.simantics.g3d.property; import javax.vecmath.AxisAngle4d; @@ -147,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; }