summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-28 03:21:53 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-28 03:21:53 (GMT)
commitb12deeff5be0ce76af25d557480f29b0ed849dd6 (patch)
treecc9bba289387091bdbcefd664466bcc4ec521c0b /src
parent955de4aa1b2100b8f9d0c9bd407d1cd127ed2212 (diff)
dump() bugfix: and were mixed up in the output
git-svn-id: http://svn.clifford.at/openscad/trunk@458 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src')
-rw-r--r--src/dxflinextrude.cc2
-rw-r--r--src/dxfrotextrude.cc2
-rw-r--r--src/import.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/dxflinextrude.cc b/src/dxflinextrude.cc
index 06874ce..83c3d9c 100644
--- a/src/dxflinextrude.cc
+++ b/src/dxflinextrude.cc
@@ -334,7 +334,7 @@ QString DxfLinearExtrudeNode::dump(QString indent) const
text += t2;
}
QString t3;
- t3.sprintf(", $fn = %g, $fa = %g, $fs = %g) {\n", fn, fs, fa);
+ t3.sprintf(", $fn = %g, $fa = %g, $fs = %g) {\n", fn, fa, fs);
text += t3;
foreach (AbstractNode *v, children)
text += v->dump(indent + QString("\t"));
diff --git a/src/dxfrotextrude.cc b/src/dxfrotextrude.cc
index b9cbd3b..ea603f0 100644
--- a/src/dxfrotextrude.cc
+++ b/src/dxfrotextrude.cc
@@ -225,7 +225,7 @@ QString DxfRotateExtrudeNode::dump(QString indent) const
"$fn = %g, $fa = %g, $fs = %g) {\n",
filename.toAscii().data(), (int)st.st_mtime, (int)st.st_size,
layername.toAscii().data(), origin_x, origin_y, scale, convexity,
- fn, fs, fa);
+ fn, fa, fs);
foreach (AbstractNode *v, children)
text += v->dump(indent + QString("\t"));
text += indent + "}\n";
diff --git a/src/import.cc b/src/import.cc
index dbc67ad..bab13ae 100644
--- a/src/import.cc
+++ b/src/import.cc
@@ -225,7 +225,7 @@ QString ImportNode::dump(QString indent) const
"$fn = %g, $fa = %g, $fs = %g);\n",
filename.toAscii().data(), (int)st.st_mtime, (int)st.st_size,
layername.toAscii().data(), origin_x, origin_y, scale, convexity,
- fn, fs, fa);
+ fn, fa, fs);
((AbstractNode*)this)->dump_cache = indent + QString("n%1: ").arg(idx) + text;
}
return dump_cache;
contact: Jan Huwald // Impressum