mirror of https://github.com/KLayout/klayout.git
WIP: cold proxies are written to GDS2 and OASIS too. This means we keep the library references even if we load and save with the wrong libraries or technology.
This commit is contained in:
parent
86e7fa56f0
commit
92d81c5844
|
|
@ -2472,6 +2472,13 @@ bool
|
|||
Layout::get_context_info (cell_index_type cell_index, ProxyContextInfo &info) const
|
||||
{
|
||||
const db::Cell *cptr = &cell (cell_index);
|
||||
|
||||
const db::ColdProxy *cold_proxy = dynamic_cast <const db::ColdProxy *> (cptr);
|
||||
if (cold_proxy) {
|
||||
info = cold_proxy->context_info ();
|
||||
return true;
|
||||
}
|
||||
|
||||
const db::Layout *ly = this;
|
||||
|
||||
const db::LibraryProxy *lib_proxy;
|
||||
|
|
|
|||
Loading…
Reference in New Issue