Correct the bottom offset we add when setting the volume for scale to max

Contributes to Asana issue 37107676459484
This commit is contained in:
Arjen Hiemstra 2015-06-23 17:58:47 +02:00
parent 6b5c3d5878
commit cbfdd08800

View File

@ -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: