Fixed #159 (Bug in technology setup with tech specific macro/DRC locations)

This commit is contained in:
Matthias Koefferlein 2018-08-25 20:28:01 +02:00
parent 842f39da45
commit 89dc424c70
1 changed files with 4 additions and 1 deletions

View File

@ -147,7 +147,10 @@ MacroController::finish ()
if (! m_no_implicit_macros) {
for (std::vector <ExternalPathDescriptor>::const_iterator p = m_external_paths.begin (); p != m_external_paths.end (); ++p) {
lym::MacroCollection::root ().add_folder (p->description, p->path, p->cat, p->readonly);
lym::MacroCollection *mc = lym::MacroCollection::root ().add_folder (p->description, p->path, p->cat, p->readonly);
if (mc) {
mc->set_virtual_mode (p->type);
}
}
}