From 840eedbb3dfe46836f8bc2b711be0fe2f17bd046 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Thu, 4 Jan 2018 09:35:23 +0100 Subject: [PATCH] CURA-4525 switch back to build plate 0 when deleting all objects --- cura/CuraApplication.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 1e10b6a40c..bf9e0016cb 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -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()