diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-26 15:37:45 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-26 15:37:45 (GMT) |
commit | e502fab71d998c0bd025512c0c3884a1117479d1 (patch) | |
tree | 5fb916cf36fcf418b8f384c3429b8342855e9f17 /src/mainwin.cc | |
parent | c4bffdaf37fdf72a84a225ec584d3698fe398857 (diff) | |
parent | 4ff2d1af446c1f276c644b12e6ec4cc6db0b6d65 (diff) |
Merge branch 'master' into color-priority
Conflicts:
openscad.pro
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 3243847..a169ab1 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -582,7 +582,7 @@ void MainWindow::load() AbstractNode *MainWindow::find_root_tag(AbstractNode *n) { BOOST_FOREACH (AbstractNode *v, n->children) { - if (v->modinst->tag_root) return v; + if (v->modinst->isRoot()) return v; if (AbstractNode *vroot = find_root_tag(v)) return vroot; } return NULL; @@ -1504,7 +1504,7 @@ void MainWindow::actionFlushCaches() #endif dxf_dim_cache.clear(); dxf_cross_cache.clear(); - Module::libs_cache.clear(); + Module::clear_library_cache(); } void MainWindow::viewModeActionsUncheck() |