mirror of https://github.com/KLayout/klayout.git
Enhancement: Allowing to select cells by error markers too (so that PCells with errors can be selected)
This commit is contained in:
parent
4e83cab061
commit
695ec041af
|
|
@ -748,10 +748,11 @@ InstFinder::find_internal (LayoutViewBase *view, unsigned int cv_index, const db
|
|||
m_visible_layer_indexes.push_back (l->layer_index ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!m_visible_layers || view->guiding_shapes_visible ()) {
|
||||
m_visible_layer_indexes.push_back (cv->layout ().guiding_shape_layer ());
|
||||
// add guiding shape and error layers so we can select cells by error markers or guiding shapes
|
||||
if (view->guiding_shapes_visible ()) {
|
||||
m_visible_layer_indexes.push_back (cv->layout ().guiding_shape_layer ());
|
||||
}
|
||||
m_visible_layer_indexes.push_back (cv->layout ().error_layer ());
|
||||
}
|
||||
|
||||
m_cv_index = cv_index;
|
||||
|
|
|
|||
Loading…
Reference in New Issue