1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-28 10:45:50 +00:00

New selection -> Tighter bounding box for selections, tweaks to gizmo flatten and fix of instances update

This commit is contained in:
Enrico Turri
2018-10-16 13:49:40 +02:00
parent 97e7b6f18b
commit a8c459696f
4 changed files with 75 additions and 17 deletions
+2
View File
@@ -427,12 +427,14 @@ private:
SourceDataSummary m_source_data;
std::vector<PlaneData> m_planes;
#if !ENABLE_EXTENDED_SELECTION
struct InstanceData
{
Transform3d matrix;
InstanceData(const Transform3d& matrix) : matrix(matrix) {}
};
std::vector<InstanceData> m_instances;
#endif // !ENABLE_EXTENDED_SELECTION
Vec3d m_starting_center;
const ModelObject* m_model_object = nullptr;