Do not generate support tree when edit support points

This commit is contained in:
Filip Sykala - NTB T15p 2024-09-12 12:38:00 +02:00 committed by Lukas Matena
parent 452473c370
commit a3febc3b3d

View File

@ -1148,7 +1148,7 @@ void GLGizmoSlaSupports::auto_generate()
if (mo->sla_points_status != sla::PointsStatus::UserModified || m_normal_cache.empty() || dlg.ShowModal() == wxID_YES) {
Plater::TakeSnapshot snapshot(wxGetApp().plater(), _L("Autogenerate support points"));
wxGetApp().CallAfter([this]() { reslice_until_step(slaposPad); });
wxGetApp().CallAfter([this]() { reslice_until_step(slaposSupportPoints); });
mo->sla_points_status = sla::PointsStatus::Generating;
}
}