mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
A little optimizaiton
This commit is contained in:
@@ -1314,8 +1314,8 @@ bool GLGizmoSlaSupports::has_backend_supports() const
|
||||
{
|
||||
// find SlaPrintObject with this ID
|
||||
for (const SLAPrintObject* po : m_parent.sla_print()->objects()) {
|
||||
if (po->model_object()->id() == m_model_object->id() && po->is_step_done(slaposSupportPoints))
|
||||
return true;
|
||||
if (po->model_object()->id() == m_model_object->id())
|
||||
return po->is_step_done(slaposSupportPoints);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user