Place on face - fix of updating on selection change

This commit is contained in:
Lukas Matena 2019-01-23 09:29:50 +01:00
parent 94b5f9c567
commit bf0232308b

View file

@ -1511,7 +1511,7 @@ void GLGizmoFlatten::set_flattening_data(const ModelObject* model_object)
bool object_changed = m_model_object != model_object;
m_model_object = model_object;
if (object_changed && is_plane_update_necessary())
if (object_changed || is_plane_update_necessary())
update_planes();
}