mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 23:35:07 -06:00
Reload object should now function again
Fixes CURA-147 (A proper solution will need to be found in the future)
This commit is contained in:
parent
daca1f26c2
commit
ad0a36cfef
1 changed files with 5 additions and 1 deletions
|
@ -555,7 +555,11 @@ class CuraApplication(QtApplication):
|
|||
self.recentFilesChanged.emit()
|
||||
|
||||
def _reloadMeshFinished(self, job):
|
||||
job._node = job.getResult()
|
||||
# TODO; This needs to be fixed properly. We now make the assumption that we only load a single mesh!
|
||||
job._node.setMeshData(job.getResult().getMeshData())
|
||||
#job.getResult().setParent(self.getController().getScene().getRoot())
|
||||
#job._node.setParent(self.getController().getScene().getRoot())
|
||||
#job._node.meshDataChanged.emit(job._node)
|
||||
|
||||
def _openFile(self, file):
|
||||
job = ReadMeshJob(os.path.abspath(file))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue