summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-01 09:48:25 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-01 09:48:25 (GMT)
commit82fad98cb63d6e27e7c156d4c5e4c9a9847abfd1 (patch)
treed70ff76ec4f5138706df5cb11fd034e60d927f4d /mainwin.cc
parent27ecd0b1d0bf0114b465beeb4db482f0f1f87c52 (diff)
Clifford Wolf:
Yet another redesign of the evaluation path git-svn-id: http://svn.clifford.at/openscad/trunk@44 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 79012c7..45cc289 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -238,7 +238,10 @@ void MainWindow::compile()
QApplication::processEvents();
AbstractNode::idx_counter = 1;
- root_node = root_module->evaluate(&root_ctx, QVector<QString>(), QVector<Value>(), QVector<ModuleInstanciation*>(), NULL);
+ {
+ ModuleInstanciation root_inst;
+ root_node = root_module->evaluate(&root_ctx, &root_inst);
+ }
if (!root_node)
goto fail;
contact: Jan Huwald // Impressum