mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-09 18:27:00 +00:00
AutoSlice Only on preview Tab (#12153)
This commit is contained in:
@@ -7416,6 +7416,9 @@ void Plater::priv::schedule_auto_reslice_if_needed()
|
|||||||
if (cfg == nullptr || !cfg->get_bool("auto_slice_after_change"))
|
if (cfg == nullptr || !cfg->get_bool("auto_slice_after_change"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!is_preview_shown())
|
||||||
|
return;
|
||||||
|
|
||||||
if (model.objects.empty())
|
if (model.objects.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -7454,6 +7457,9 @@ void Plater::priv::trigger_auto_reslice_now()
|
|||||||
if (cfg == nullptr || !cfg->get_bool("auto_slice_after_change"))
|
if (cfg == nullptr || !cfg->get_bool("auto_slice_after_change"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!is_preview_shown())
|
||||||
|
return;
|
||||||
|
|
||||||
if (this->model.objects.empty())
|
if (this->model.objects.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user