mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:19:13 +08: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
@ -555,7 +555,11 @@ class CuraApplication(QtApplication):
|
|||||||
self.recentFilesChanged.emit()
|
self.recentFilesChanged.emit()
|
||||||
|
|
||||||
def _reloadMeshFinished(self, job):
|
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):
|
def _openFile(self, file):
|
||||||
job = ReadMeshJob(os.path.abspath(file))
|
job = ReadMeshJob(os.path.abspath(file))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user