[consider merging] Fixed a problem with editing guiding shapes

This commit is contained in:
Matthias Koefferlein 2022-10-28 23:40:48 +02:00
parent e6da3fc22c
commit d82ff4d3f8
1 changed files with 1 additions and 1 deletions

View File

@ -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 ())) {