summaryrefslogtreecommitdiff
path: root/dxfdata.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-24 21:57:46 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-24 21:57:46 (GMT)
commit4c84928e4b9360b8b46c60dc57ca6b6571bd088e (patch)
tree2472fd65ed4059c121f2a7bea6ee00610b6dc280 /dxfdata.cc
parentc66c51ce1e97c146a6f05cafdea213f880760b83 (diff)
Clifford Wolf:
More dxf_dim stuff git-svn-id: http://svn.clifford.at/openscad/trunk@74 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'dxfdata.cc')
-rw-r--r--dxfdata.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dxfdata.cc b/dxfdata.cc
index 773f8d9..7247e00 100644
--- a/dxfdata.cc
+++ b/dxfdata.cc
@@ -77,9 +77,9 @@ DxfData::DxfData(double fn, double fs, double fa, QString filename, QString laye
if (id >= 20 && id <= 26) {
if (id == 21 || id == 22 || id == 26)
- coords[id-20][0] = data.toDouble() * scale;
+ coords[id-20][1] = data.toDouble() * scale;
else
- coords[id-20][0] = (data.toDouble() - yorigin) * scale;
+ coords[id-20][1] = (data.toDouble() - yorigin) * scale;
}
switch (id)
contact: Jan Huwald // Impressum