mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:28:58 +08:00
Force scene change event upon file load through commandline parameters
Fixes Ultimaker/Cura#409
This commit is contained in:
parent
7c9b190bee
commit
b770979be5
@ -529,6 +529,8 @@ class CuraApplication(QtApplication):
|
||||
op = AddSceneNodeOperation(node, self.getController().getScene().getRoot())
|
||||
op.push()
|
||||
|
||||
self.getController().getScene().sceneChanged.emit(node) #Force scene change.
|
||||
|
||||
def _onJobFinished(self, job):
|
||||
if type(job) is not ReadMeshJob or not job.getResult():
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user