mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Make ucp model available in workspace writer
CURA-11403
This commit is contained in:
parent
ec871782c7
commit
efd6284f6e
2 changed files with 28 additions and 13 deletions
|
@ -27,7 +27,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
|||
super().__init__()
|
||||
self._main_thread_lock = Lock()
|
||||
self._success = False
|
||||
self._export_model = None
|
||||
self._ucp_model = None
|
||||
self._stream = None
|
||||
self._nodes = None
|
||||
self._mode = None
|
||||
|
@ -35,8 +35,8 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
|||
|
||||
|
||||
def setExportModel(self, model):
|
||||
if self._export_model != model:
|
||||
self._export_model = model
|
||||
if self._ucp_model != model:
|
||||
self._ucp_model = model
|
||||
|
||||
def _write(self):
|
||||
application = Application.getInstance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue