3mf I/O - Fixed object sinking into bed after import

This commit is contained in:
Enrico Turri 2018-03-06 10:26:39 +01:00
parent 7320a87183
commit 9f7607c064
3 changed files with 29 additions and 1 deletions

View file

@ -273,6 +273,9 @@ public:
bool looks_like_multipart_object() const;
void convert_multipart_object();
// Ensures that the min z of the model is not negative
void adjust_min_z();
void print_info() const { for (const ModelObject *o : this->objects) o->print_info(); }
};