Fixed the 'remove all points' button in sla gizmo (was only working in editing mode)

This commit is contained in:
Lukas Matena 2019-03-01 15:03:58 +01:00
parent 5846af256a
commit b45c80b8db
2 changed files with 6 additions and 7 deletions

View file

@ -469,7 +469,7 @@ public:
virtual ~GLGizmoSlaSupports();
void set_sla_support_data(ModelObject* model_object, const GLCanvas3D::Selection& selection);
bool mouse_event(SLAGizmoEventType action, const Vec2d& mouse_position, bool shift_down);
void delete_selected_points();
void delete_selected_points(bool force = false);
private:
bool on_init();