Check if object's size appears to be zero, when loading the model file.

This commit is contained in:
YuSanka 2021-10-07 09:12:31 +02:00
parent 7340488aaf
commit c15be26bff
3 changed files with 25 additions and 0 deletions

View file

@ -1124,6 +1124,7 @@ public:
void convert_from_imperial_units(bool only_small_volumes);
bool looks_like_saved_in_meters() const;
void convert_from_meters(bool only_small_volumes);
int removed_objects_with_zero_volume();
// Ensures that the min z of the model is not negative
void adjust_min_z();