mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Force scene change event upon file load through commandline parameters
Fixes Ultimaker/Cura#409
This commit is contained in:
parent
7c9b190bee
commit
b770979be5
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue