summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openscad.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/openscad.cc b/openscad.cc
index 63904ee..92480dc 100644
--- a/openscad.cc
+++ b/openscad.cc
@@ -162,7 +162,7 @@ int main(int argc, char **argv)
text += buffer;
}
fclose(fp);
- root_module = parse(text.toAscii().data(), false);
+ root_module = parse((text+commandline_commands).toAscii().data(), false);
}
QString original_path = QDir::currentPath();
contact: Jan Huwald // Impressum