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:
Matthias Koefferlein 2020-12-13 22:09:21 +01:00
parent 86e7fa56f0
commit 92d81c5844
1 changed files with 7 additions and 0 deletions

View File

@ -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;