mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix lowest slice height
Don't always divide by 2. Just for slicing tolerance: Middle. And then just once. Contributes to issue CURA-7871.
This commit is contained in:
parent
538ccf5e21
commit
b83193bc0f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2020 Ultimaker B.V.
|
||||
# Copyright (c) 2021 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import os.path
|
||||
|
@ -130,7 +130,7 @@ class SolidView(View):
|
|||
tolerance_setting = extruder.getProperty("slicing_tolerance", "value")
|
||||
if tolerance_setting == "middle":
|
||||
init_layer_height /= 2.0
|
||||
min_height = max(min_height, init_layer_height / 2.0)
|
||||
min_height = max(min_height, init_layer_height)
|
||||
return min_height
|
||||
|
||||
def _checkSetup(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue