Bug fixing

This commit is contained in:
Matthias Koefferlein 2024-03-24 22:45:58 +01:00
parent ab93dde25c
commit b4c7176c52
1 changed files with 2 additions and 2 deletions

View File

@ -967,9 +967,9 @@ RecursiveShapeIterator::new_cell (RecursiveShapeReceiver *receiver) const
// NOTE: because we use "touching" for the instances below, we
region_type new_complex_region;
if (region == box_type::world ()) {
new_complex_region = region_type (cell ()->bbox ()) - shapes_region;
new_complex_region = region_type (cell ()->bbox (l)) - shapes_region;
} else {
new_complex_region = region_type (cell ()->bbox () & region.enlarged (bias)) - shapes_region;
new_complex_region = region_type (cell ()->bbox (l) & region.enlarged (bias)) - shapes_region;
}
// TODO: the current implementation does not touch the complex search region