mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16:28:59 +08:00
Correct the bottom offset we add when setting the volume for scale to max
Contributes to Asana issue 37107676459484
This commit is contained in:
parent
6b5c3d5878
commit
cbfdd08800
@ -477,7 +477,9 @@ class CuraApplication(QtApplication):
|
|||||||
self._volume.rebuild()
|
self._volume.rebuild()
|
||||||
|
|
||||||
if self.getController().getTool("ScaleTool"):
|
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")
|
offset = machine.getSettingValueByKey("machine_platform_offset")
|
||||||
if offset:
|
if offset:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user