From 21b019fd245d01dfd2361327b60c89a400f9d02d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Sat, 10 May 2014 08:43:50 +0200 Subject: [PATCH] ensure that the placement values are used with every relevant decimal from the property editor --- src/Gui/propertyeditor/PropertyItem.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp index 68ae5a82b..ec7407125 100644 --- a/src/Gui/propertyeditor/PropertyItem.cpp +++ b/src/Gui/propertyeditor/PropertyItem.cpp @@ -1643,13 +1643,13 @@ void PropertyPlacementItem::setValue(const QVariant& value) QString data = QString::fromAscii("App.Placement(" "App.Vector(%1,%2,%3)," "App.Rotation(App.Vector(%4,%5,%6),%7))") - .arg(pos.x,0,'f',decimals()) - .arg(pos.y,0,'f',decimals()) - .arg(pos.z,0,'f',decimals()) - .arg(rot_axis.x,0,'f',decimals()) - .arg(rot_axis.y,0,'f',decimals()) - .arg(rot_axis.z,0,'f',decimals()) - .arg(rot_angle,0,'f',decimals()); + .arg(pos.x) + .arg(pos.y) + .arg(pos.z) + .arg(rot_axis.x) + .arg(rot_axis.y) + .arg(rot_axis.z) + .arg(rot_angle,0); setPropertyValue(data); }