Fixed transformation center for objects imported from 3mf files

This commit is contained in:
Enrico Turri 2018-08-29 08:42:42 +02:00
parent eb9f4ee777
commit 5ee106fbf9

View File

@ -603,6 +603,8 @@ namespace Slic3r {
if (!_generate_volumes(*object.second, obj_geometry->second, *volumes_ptr)) if (!_generate_volumes(*object.second, obj_geometry->second, *volumes_ptr))
return false; return false;
object.second->center_around_origin();
} }
// fixes the min z of the model if negative // fixes the min z of the model if negative