mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Refactored Model.cpp/hpp to C++x11 loops, simplified the mesh / bbox handling.
This commit is contained in:
parent
21ddcb8487
commit
5cae4cc614
13 changed files with 314 additions and 500 deletions
|
@ -509,9 +509,7 @@ std::string Print::validate() const
|
|||
{
|
||||
Polygons convex_hulls_other;
|
||||
for (PrintObject *object : this->objects) {
|
||||
// Get convex hull of all meshes assigned to this print object
|
||||
// (this is the same as model_object()->raw_mesh.convex_hull()
|
||||
// but probably more efficient.
|
||||
// Get convex hull of all meshes assigned to this print object.
|
||||
Polygon convex_hull;
|
||||
{
|
||||
Polygons mesh_convex_hulls;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue