summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-26 15:37:00 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-26 15:37:00 (GMT)
commitcbabbaed700536b3a1f513fd5a07d25382cb137f (patch)
tree17478b52e8e8205709c6862b605caf6762445dfa /src/mainwin.cc
parent312a25f2708fcef22e300f7bd2c1aaed61d3095d (diff)
parent4ff2d1af446c1f276c644b12e6ec4cc6db0b6d65 (diff)
Merge branch 'master' into boost_filesystem
Conflicts: openscad.pro src/module.h
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 3567ddd..f9ce5c1 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -583,7 +583,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;
@@ -1505,7 +1505,7 @@ void MainWindow::actionFlushCaches()
#endif
dxf_dim_cache.clear();
dxf_cross_cache.clear();
- Module::libs_cache.clear();
+ Module::clear_library_cache();
}
void MainWindow::viewModeActionsUncheck()
contact: Jan Huwald // Impressum