mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed an updating of the button's show during SLA slicing
This commit is contained in:
parent
063d812d64
commit
40abbc7184
1 changed files with 5 additions and 1 deletions
|
@ -2157,7 +2157,11 @@ unsigned int Plater::priv::update_background_process(bool force_validation)
|
||||||
|
|
||||||
if (background_process.finished())
|
if (background_process.finished())
|
||||||
show_action_buttons(false);
|
show_action_buttons(false);
|
||||||
else if (!background_process.empty())
|
else if (!background_process.empty() &&
|
||||||
|
!background_process.running()) /* Do not update buttons if background process is running
|
||||||
|
* This condition is important for SLA mode especially,
|
||||||
|
* when this function is called several times during calculations
|
||||||
|
* */
|
||||||
show_action_buttons(true);
|
show_action_buttons(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue