diff options
author | Marius Kintel <marius@kintel.net> | 2010-03-14 04:12:18 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2010-10-31 00:42:34 (GMT) |
commit | 9bb4fc829ad9466fe59ad35803ed1db82042342a (patch) | |
tree | 0e17313197ff8910b12b0a3bf44eec157e10fa99 /src/mainwin.cc | |
parent | e8b84d36c51327447334ce3bd6909501bab44805 (diff) |
Added REMOVE_DUMP define
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..."); } |