mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +08:00
CURA-4525 switch back to build plate 0 when deleting all objects
This commit is contained in:
parent
8c7a0d4a8e
commit
840eedbb3d
@ -1050,6 +1050,8 @@ class CuraApplication(QtApplication):
|
||||
op.push()
|
||||
Selection.clear()
|
||||
|
||||
self.getCuraSceneController().setActiveBuildPlate(0) # Select first build plate
|
||||
|
||||
## Reset all translation on nodes with mesh data.
|
||||
@pyqtSlot()
|
||||
def resetAllTranslation(self):
|
||||
@ -1124,7 +1126,7 @@ class CuraApplication(QtApplication):
|
||||
nodes.append(node)
|
||||
job = ArrangeObjectsAllBuildPlatesJob(nodes)
|
||||
job.start()
|
||||
self.getCuraSceneController().setActiveBuildPlate(0) # Initialize
|
||||
self.getCuraSceneController().setActiveBuildPlate(0) # Select first build plate
|
||||
|
||||
# Single build plate
|
||||
@pyqtSlot()
|
||||
|
Loading…
x
Reference in New Issue
Block a user