mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Gizmos shortcuts set as default
This commit is contained in:
parent
04d7154d40
commit
9bfcf10cc6
5 changed files with 0 additions and 28 deletions
|
@ -84,9 +84,7 @@ protected:
|
|||
|
||||
int m_group_id;
|
||||
EState m_state;
|
||||
#if ENABLE_GIZMOS_SHORTCUT
|
||||
int m_shortcut_key;
|
||||
#endif // ENABLE_GIZMOS_SHORTCUT
|
||||
// textures are assumed to be square and all with the same size in pixels, no internal check is done
|
||||
GLTexture m_textures[Num_States];
|
||||
int m_hover_id;
|
||||
|
@ -113,10 +111,8 @@ public:
|
|||
EState get_state() const { return m_state; }
|
||||
void set_state(EState state) { m_state = state; on_set_state(); }
|
||||
|
||||
#if ENABLE_GIZMOS_SHORTCUT
|
||||
int get_shortcut_key() const { return m_shortcut_key; }
|
||||
void set_shortcut_key(int key) { m_shortcut_key = key; }
|
||||
#endif // ENABLE_GIZMOS_SHORTCUT
|
||||
|
||||
bool is_activable(const GLCanvas3D::Selection& selection) const { return on_is_activable(selection); }
|
||||
bool is_selectable() const { return on_is_selectable(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue