AutoSlice Only on preview Tab (#12153)

This commit is contained in:
Ian Bassi
2026-02-03 12:45:43 -03:00
committed by GitHub
parent 7f2625e122
commit 73f8e3e7be

View File

@@ -7416,6 +7416,9 @@ void Plater::priv::schedule_auto_reslice_if_needed()
if (cfg == nullptr || !cfg->get_bool("auto_slice_after_change"))
return;
if (!is_preview_shown())
return;
if (model.objects.empty())
return;
@@ -7454,6 +7457,9 @@ void Plater::priv::trigger_auto_reslice_now()
if (cfg == nullptr || !cfg->get_bool("auto_slice_after_change"))
return;
if (!is_preview_shown())
return;
if (this->model.objects.empty())
return;