Deal with infinite box.

This commit is contained in:
tamasmeszaros 2019-07-03 15:06:10 +02:00
parent 320f2ecefd
commit bc315f4c2c
6 changed files with 175 additions and 128 deletions
src/libslic3r

View file

@ -398,6 +398,9 @@ bool Model::arrange_objects(coordf_t dist, const BoundingBoxf* bb)
// }
// o->invalidate_bounding_box();
// }
// return true;
size_t count = 0;
for (auto obj : objects) count += obj->instances.size();