mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
parent
403129e2d6
commit
f67261488f
1 changed files with 4 additions and 0 deletions
|
@ -1572,6 +1572,8 @@ class CuraApplication(QtApplication):
|
|||
self.callLater(self.openProjectFile.emit, file)
|
||||
return
|
||||
|
||||
Selection.clear()
|
||||
|
||||
f = file.toLocalFile()
|
||||
extension = os.path.splitext(f)[1]
|
||||
filename = os.path.basename(f)
|
||||
|
@ -1696,6 +1698,8 @@ class CuraApplication(QtApplication):
|
|||
node.callDecoration("setActiveExtruder", default_extruder_id)
|
||||
scene.sceneChanged.emit(node)
|
||||
|
||||
Selection.add(node)
|
||||
|
||||
self.fileCompleted.emit(filename)
|
||||
|
||||
def addNonSliceableExtension(self, extension):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue