mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-04 16:50:09 +02:00
Merge branch 'xxx' into wip
This commit is contained in:
@@ -640,7 +640,7 @@ LayerProperties::do_realize (const LayoutViewBase *view) const
|
||||
|
||||
}
|
||||
|
||||
if (m_layer_index >= 0) {
|
||||
if (m_layer_index >= 0 && cv->layout ().is_valid_layer (m_layer_index)) {
|
||||
const auto &lp = cv->layout ().get_properties (m_layer_index);
|
||||
if (! lp.name.empty () && m_source_real.name () != lp.name) {
|
||||
m_source_real.name (lp.name);
|
||||
|
||||
Reference in New Issue
Block a user