1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-16 08:54:26 +00:00

A little optimizaiton

This commit is contained in:
bubnikv
2019-08-23 13:27:19 +02:00
parent 93c6915e9d
commit 12cb930634
+2 -2
View File
@@ -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;
}