mirror of https://github.com/KLayout/klayout.git
[consider merging] Fixed a problem with editing guiding shapes
This commit is contained in:
parent
e6da3fc22c
commit
d82ff4d3f8
|
|
@ -65,7 +65,7 @@ ObjectInstPath::is_valid (lay::LayoutViewBase *view) const
|
|||
}
|
||||
|
||||
if (! is_cell_inst ()) {
|
||||
if (! ly.is_valid_layer (layer ())) {
|
||||
if (! ly.is_valid_layer (layer ()) && layer () != ly.guiding_shape_layer ()) {
|
||||
return false;
|
||||
}
|
||||
if (! ly.cell (ci).shapes (layer ()).is_valid (shape ())) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue