Nearly finished refactoring of GLGizmoManager

This commit is contained in:
Lukas Matena 2019-09-02 14:25:48 +02:00
parent 409a7c7734
commit d8a274c5ab
6 changed files with 142 additions and 291 deletions

View file

@ -1099,9 +1099,6 @@ std::string GLGizmoSlaSupports::on_get_name() const
void GLGizmoSlaSupports::on_set_state()
{
if (m_state == Hover)
return;
// m_model_object pointer can be invalid (for instance because of undo/redo action),
// we should recover it from the object id
m_model_object = nullptr;