mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:19:03 +08:00
parent
403129e2d6
commit
f67261488f
@ -1572,6 +1572,8 @@ class CuraApplication(QtApplication):
|
|||||||
self.callLater(self.openProjectFile.emit, file)
|
self.callLater(self.openProjectFile.emit, file)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Selection.clear()
|
||||||
|
|
||||||
f = file.toLocalFile()
|
f = file.toLocalFile()
|
||||||
extension = os.path.splitext(f)[1]
|
extension = os.path.splitext(f)[1]
|
||||||
filename = os.path.basename(f)
|
filename = os.path.basename(f)
|
||||||
@ -1696,6 +1698,8 @@ class CuraApplication(QtApplication):
|
|||||||
node.callDecoration("setActiveExtruder", default_extruder_id)
|
node.callDecoration("setActiveExtruder", default_extruder_id)
|
||||||
scene.sceneChanged.emit(node)
|
scene.sceneChanged.emit(node)
|
||||||
|
|
||||||
|
Selection.add(node)
|
||||||
|
|
||||||
self.fileCompleted.emit(filename)
|
self.fileCompleted.emit(filename)
|
||||||
|
|
||||||
def addNonSliceableExtension(self, extension):
|
def addNonSliceableExtension(self, extension):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user