SPE-1661 - Fixed SLA support gizmo inactive when it is not possible to slice because of invalid data

This commit is contained in:
enricoturri1966 2023-04-18 08:15:36 +02:00
parent ed911260ee
commit d0f83a58c8

View file

@ -59,7 +59,7 @@ void GLGizmoSlaBase::update_volumes()
if (last_comp_step == slaposCount)
last_comp_step = -1;
m_input_enabled = last_comp_step >= m_min_sla_print_object_step;
m_input_enabled = last_comp_step >= m_min_sla_print_object_step || po->model_object()->sla_points_status == sla::PointsStatus::UserModified;
const int object_idx = m_parent.get_selection().get_object_idx();
const int instance_idx = m_parent.get_selection().get_instance_idx();