mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 06:33:57 -06:00
FDM supports gizmo - use right mouse to place support blockers
This commit is contained in:
parent
55c87886fa
commit
4d8e6538e8
4 changed files with 42 additions and 11 deletions
|
@ -47,7 +47,13 @@ private:
|
|||
// etc. When language changes, GUI is recreated and this class constructed again, so the change takes effect.
|
||||
std::map<std::string, wxString> m_desc;
|
||||
|
||||
bool m_wait_for_up_event = false;
|
||||
enum class Button {
|
||||
None,
|
||||
Left,
|
||||
Right
|
||||
};
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue