mirror of https://github.com/KLayout/klayout.git
WIP: bug fix
This commit is contained in:
parent
4edf4ab1f7
commit
500051ef1d
|
|
@ -1268,7 +1268,7 @@ AsIfFlatRegion::sized (coord_type dx, coord_type dy, unsigned int mode) const
|
|||
// ignore empty
|
||||
return new EmptyRegion ();
|
||||
|
||||
} else if (is_box () && mode >= 2) {
|
||||
} else if (is_box () && begin ()->prop_id () == 0 && mode >= 2) {
|
||||
|
||||
// simplified handling for a box
|
||||
db::Box b = bbox ().enlarged (db::Vector (dx, dy));
|
||||
|
|
|
|||
Loading…
Reference in New Issue