Gizmos shortcuts set as default

This commit is contained in:
Enrico Turri 2018-12-04 16:01:25 +01:00
parent 04d7154d40
commit 9bfcf10cc6
5 changed files with 0 additions and 28 deletions

View file

@ -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(); }