From cbfdd08800a2eaf82943db3ec20c9f725bf7fd51 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 23 Jun 2015 17:58:47 +0200 Subject: [PATCH] Correct the bottom offset we add when setting the volume for scale to max Contributes to Asana issue 37107676459484 --- cura/CuraApplication.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 1e7936f0c9..1fb243ab0a 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -477,7 +477,9 @@ class CuraApplication(QtApplication): self._volume.rebuild() if self.getController().getTool("ScaleTool"): - self.getController().getTool("ScaleTool").setMaximumBounds(self._volume.getBoundingBox()) + bbox = self._volume.getBoundingBox() + bbox.setBottom(0.0) + self.getController().getTool("ScaleTool").setMaximumBounds(bbox) offset = machine.getSettingValueByKey("machine_platform_offset") if offset: