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"))
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user