diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 45221738be..54f4cf3057 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -1056,11 +1056,11 @@ class CuraApplication(QtApplication): job.start() def _readMeshFinished(self, job): - node = job.getResult() + nodes = job.getResult() filename = job.getFileName() self._currently_loading_files.remove(filename) - if node != None: + for node in nodes: node.setSelectable(True) node.setName(os.path.basename(filename)) diff --git a/plugins/3MFReader/ThreeMFReader.py b/plugins/3MFReader/ThreeMFReader.py index ee4e1daab4..e9f0e28511 100644 --- a/plugins/3MFReader/ThreeMFReader.py +++ b/plugins/3MFReader/ThreeMFReader.py @@ -1,7 +1,6 @@ # Copyright (c) 2015 Ultimaker B.V. # Cura is released under the terms of the AGPLv3 or higher. -import math import os.path import zipfile