summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 1331b4b..09affed 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -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;
contact: Jan Huwald // Impressum