Place on bed planes recalculation after individual volumes are manipulated

This commit is contained in:
Lukas Matena 2018-11-28 11:37:17 +01:00
parent 0a47bc1c5c
commit 5813ec08c9
2 changed files with 7 additions and 19 deletions

View file

@ -414,13 +414,9 @@ private:
Vec3d normal;
float area;
};
struct SourceDataSummary {
std::vector<BoundingBoxf3> bounding_boxes; // bounding boxes of convex hulls of individual volumes
Vec3d mesh_first_point;
};
// This holds information to decide whether recalculation is necessary:
SourceDataSummary m_source_data;
std::vector<Transform3d> m_volumes_matrices;
std::vector<PlaneData> m_planes;
mutable Vec3d m_starting_center;