Fixed progress description

This commit is contained in:
Matthias Koefferlein 2024-06-25 23:41:35 +02:00
parent 10880e078b
commit 100760e219
2 changed files with 2 additions and 0 deletions

View File

@ -1443,6 +1443,7 @@ AsIfFlatRegion::sized_inside (const Region &inside, bool outside, coord_type dx,
// indicate chunk in the progress description
proc.set_description (proc.description (&op) + tl::sprintf (tl::to_string (tr (" (steps %d..%d)")), steps_from + 1, steps_from + steps_chunk + 1));
steps_from += steps_chunk;
std::vector<db::generic_shape_iterator<db::Polygon> > others;
others.push_back (inside_polygons);

View File

@ -1853,6 +1853,7 @@ DeepRegion::sized_inside (const Region &inside, bool outside, coord_type dx, coo
// indicate chunk in the progress description
proc.set_description (proc.description (&op) + tl::sprintf (tl::to_string (tr (" (steps %d..%d)")), steps_from + 1, steps_from + steps_chunk + 1));
steps_from += steps_chunk;
proc.run (&op, prev.get () ? prev->deep_layer ().layer () : polygons.layer (), inside_polygons.layer (), res->deep_layer ().layer ());