mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 18:55:59 +08:00
Remove unneeded thread lock
CURA-11403
This commit is contained in:
parent
f61991e261
commit
a463e51788
@ -25,11 +25,9 @@ USER_SETTINGS_PATH = "Cura/user-settings.json"
|
|||||||
class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self._main_thread_lock = Lock()
|
|
||||||
self._ucp_model = None
|
self._ucp_model = None
|
||||||
self._is_ucp = False
|
self._is_ucp = False
|
||||||
|
|
||||||
|
|
||||||
def setExportModel(self, model):
|
def setExportModel(self, model):
|
||||||
if self._ucp_model != model:
|
if self._ucp_model != model:
|
||||||
self._ucp_model = model
|
self._ucp_model = model
|
||||||
|
Loading…
x
Reference in New Issue
Block a user