summaryrefslogtreecommitdiff
path: root/openscad.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-04 21:38:48 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-04 21:38:48 (GMT)
commit34e6f8285a612cd1266415bde046cd3ae07321a7 (patch)
tree6970940b6555dcb106f9bd9132b4624f6e46e447 /openscad.cc
parentcfb8a40c5663d6c9947d14f7b71997a4382a6078 (diff)
Clifford Wolf:
Fixed -D for -s git-svn-id: http://svn.clifford.at/openscad/trunk@143 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'openscad.cc')
-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