mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
SLA gizmos: make sure that the clipping plane is properly reset to zero when the shown meshes are exchanged
This commit is contained in:
parent
f902fc3445
commit
3c23917e9e
3 changed files with 17 additions and 6 deletions
|
@ -43,6 +43,7 @@ public:
|
|||
void update_hollowed_mesh(std::unique_ptr<TriangleMesh> &&mesh);
|
||||
|
||||
bool is_selection_rectangle_dragging() const { return m_selection_rectangle.is_dragging(); }
|
||||
void update_clipping_plane(bool keep_normal = false) const;
|
||||
|
||||
private:
|
||||
bool on_init() override;
|
||||
|
@ -96,7 +97,6 @@ private:
|
|||
void select_point(int i);
|
||||
void unselect_point(int i);
|
||||
void reload_cache();
|
||||
void update_clipping_plane(bool keep_normal = false) const;
|
||||
|
||||
protected:
|
||||
void on_set_state() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue