mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 07:49:01 +08:00
Fixed an updating of the button's show during SLA slicing
This commit is contained in:
parent
063d812d64
commit
40abbc7184
@ -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…
x
Reference in New Issue
Block a user