SLA gizmo - clicking on object does not add new points if any point is selected

Remove selected points button is greyed out unless something is selected
This commit is contained in:
Lukas Matena 2019-02-20 15:42:03 +01:00
parent b0d78c3fb2
commit 5292f16f32
2 changed files with 28 additions and 18 deletions

View file

@ -502,6 +502,7 @@ private:
bool m_ignore_up_event = false;
bool m_combo_box_open = false;
bool m_unsaved_changes = false;
bool m_selection_empty = true;
EState m_old_state = Off; // to be able to see that the gizmo has just been closed (see on_set_state)
#if SLAGIZMO_IMGUI_MODAL
bool m_show_modal = false;