WIP: Duplicated the SLA gizmo for the FDM, removed what was not needed

Clipping plane and the m_model_object pointer keeping was duplicated
This commit is contained in:
Lukas Matena 2019-09-20 12:42:08 +02:00
parent a48a79603c
commit 7afe7326b6
8 changed files with 548 additions and 13 deletions

View file

@ -64,6 +64,7 @@ public:
Cut,
Hollow,
SlaSupports,
FdmSupports,
Undefined
};
@ -197,8 +198,11 @@ public:
void set_flattening_data(const ModelObject* model_object);
void set_sla_support_data(ModelObject* model_object);
void set_fdm_support_data(ModelObject* model_object);
bool gizmo_event(SLAGizmoEventType action, const Vec2d& mouse_position = Vec2d::Zero(), bool shift_down = false, bool alt_down = false, bool control_down = false);
ClippingPlane get_sla_clipping_plane() const;
ClippingPlane get_clipping_plane() const;
bool wants_reslice_supports_on_undo() const;
void render_current_gizmo() const;