mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Add thread yields to several long running and heavy processing jobs
Contributes to CURA-358
This commit is contained in:
parent
653b46d825
commit
0b2f0b2604
3 changed files with 11 additions and 1 deletions
|
|
@ -31,6 +31,8 @@ class ConvexHullJob(Job):
|
|||
self._node.callDecoration("setConvexHullJob", None)
|
||||
return
|
||||
|
||||
Job.yieldThread()
|
||||
|
||||
else:
|
||||
if not self._node.getMeshData():
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue