diff options
| author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-08 02:57:13 (GMT) |
|---|---|---|
| committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-08 02:57:13 (GMT) |
| commit | fb2333674148a2f28d313cd0218866f7daaf0d28 (patch) | |
| tree | a8c4b44c32499108de913dca875267d157b0b401 | |
| parent | b888c2e05a4206b6fb8f4ee7ebc4c33af22d3dcb (diff) | |
Clifford Wolf:
Fixed positional argument processing of import_* statements
git-svn-id: http://svn.clifford.at/openscad/trunk@234 b57f626f-c46c-0410-a088-ec61d464b74c
| -rw-r--r-- | import.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -61,9 +61,9 @@ AbstractNode *ImportModule::evaluate(const Context *ctx, const ModuleInstantiati QVector<QString> argnames; if (type == TYPE_DXF) { - QVector<QString> argnames = QVector<QString>() << "filename" << "layername" << "convexity" << "origin" << "scale"; + argnames = QVector<QString>() << "filename" << "layername" << "convexity" << "origin" << "scale"; } else { - QVector<QString> argnames = QVector<QString>() << "filename" << "convexity"; + argnames = QVector<QString>() << "filename" << "convexity"; } QVector<Expression*> argexpr; |
