mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-08-01 11:25:50 +00:00
FDM supports gizmo uses neighbor data from stl_file
This commit is contained in:
@@ -49,7 +49,6 @@ public:
|
||||
~GLGizmoFdmSupports() override;
|
||||
void set_fdm_support_data(ModelObject* model_object, const Selection& selection);
|
||||
bool gizmo_event(SLAGizmoEventType action, const Vec2d& mouse_position, bool shift_down, bool alt_down, bool control_down);
|
||||
using NeighborData = std::pair<size_t, size_t>;
|
||||
|
||||
|
||||
private:
|
||||
@@ -86,8 +85,6 @@ private:
|
||||
Button m_button_down = Button::None;
|
||||
EState m_old_state = Off; // to be able to see that the gizmo has just been closed (see on_set_state)
|
||||
|
||||
std::vector<std::vector<NeighborData>> m_neighbors; // pairs of vertex_index - facet_index for each mesh
|
||||
|
||||
protected:
|
||||
void on_set_state() override;
|
||||
void on_start_dragging() override;
|
||||
|
||||
Reference in New Issue
Block a user