1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-24 10:05:52 +00:00

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
+1 -5
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;