diff options
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 1bf2695..8b7fac5 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -650,7 +650,9 @@ void MainWindow::compile(bool procevents) if (!(this->root_node = find_root_tag(absolute_root_node))) { this->root_node = absolute_root_node; } - root_node->dump(""); + // Dump the tree (to initialize caches). I guess we wouldn't really need to do + // this explicitly.. + root_node->dump(); if (1) { PRINT("Compilation finished."); @@ -1228,7 +1230,7 @@ void MainWindow::actionDisplayCSGTree() e->setWindowTitle("CSG Tree Dump"); e->setReadOnly(true); if (root_node) { - e->setPlainText(root_node->dump("")); + e->setPlainText(root_node->dump()); } else { e->setPlainText("No CSG to dump. Please try compiling first..."); } |