summaryrefslogtreecommitdiff
path: root/dxfdata.cc
diff options
context:
space:
mode:
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