mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix reloading meshes
Not tested with 3MF, but for normal cases this should hotfix it.
This commit is contained in:
parent
a8547ed8be
commit
87587ffd40
1 changed files with 1 additions and 1 deletions
|
@ -1000,7 +1000,7 @@ class CuraApplication(QtApplication):
|
||||||
|
|
||||||
def _reloadMeshFinished(self, job):
|
def _reloadMeshFinished(self, job):
|
||||||
# TODO; This needs to be fixed properly. We now make the assumption that we only load a single mesh!
|
# TODO; This needs to be fixed properly. We now make the assumption that we only load a single mesh!
|
||||||
mesh_data = job.getResult().getMeshData()
|
mesh_data = job.getResult()[0].getMeshData()
|
||||||
if mesh_data:
|
if mesh_data:
|
||||||
job._node.setMeshData(mesh_data)
|
job._node.setMeshData(mesh_data)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue