Fix reloading meshes

Not tested with 3MF, but for normal cases this should hotfix it.
This commit is contained in:
Ghostkeeper 2016-11-28 14:11:44 +01:00
parent a8547ed8be
commit 87587ffd40
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -1000,7 +1000,7 @@ class CuraApplication(QtApplication):
def _reloadMeshFinished(self, job):
# 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:
job._node.setMeshData(mesh_data)
else: