mirror of https://github.com/KLayout/klayout.git
Seems to fix issue #1260
This commit is contained in:
parent
cd2535af09
commit
2749217984
|
|
@ -490,7 +490,7 @@ Layout::operator= (const Layout &d)
|
||||||
const db::Technology *
|
const db::Technology *
|
||||||
Layout::technology () const
|
Layout::technology () const
|
||||||
{
|
{
|
||||||
return db::Technologies::instance ()->technology_by_name (m_tech_name);
|
return db::Technologies::instance ()->has_technology (m_tech_name) ? db::Technologies::instance ()->technology_by_name (m_tech_name) : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue