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

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;