From 500051ef1d3f0ace3b982cf547afdae724b636ad Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Wed, 18 Jan 2023 17:07:53 +0100 Subject: [PATCH] WIP: bug fix --- src/db/db/dbAsIfFlatRegion.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/db/dbAsIfFlatRegion.cc b/src/db/db/dbAsIfFlatRegion.cc index 82bd453b1..8c881c847 100644 --- a/src/db/db/dbAsIfFlatRegion.cc +++ b/src/db/db/dbAsIfFlatRegion.cc @@ -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));