diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-26 04:32:52 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-26 04:32:52 (GMT) |
commit | a05c91bcecb7bbf85c0e5d5a307708e69f8eb9c8 (patch) | |
tree | 2c53782f53fcc614725a815630ffa43f36ca91cb /mainwin.cc | |
parent | c318b749b12a2d51115c65a9ad8c9f45396a90d8 (diff) |
Clifford Wolf:
Added generic config variables
Added ${fs,fa}_{render,preview}
git-svn-id: http://svn.clifford.at/openscad/trunk@22 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'mainwin.cc')
-rw-r--r-- | mainwin.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -32,6 +32,10 @@ MainWindow::MainWindow(const char *filename) { root_ctx.functions_p = &builtin_functions; root_ctx.modules_p = &builtin_modules; + root_ctx.set_variable("$fs_render", Value(1.0)); + root_ctx.set_variable("$fa_render", Value(12.0)); + root_ctx.set_variable("$fs_preview", Value(1.0)); + root_ctx.set_variable("$fa_preview", Value(12.0)); root_module = NULL; root_node = NULL; |