diff options
author | Ghostkeeper <rubend@tutanota.com> | 2021-03-03 19:05:01 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2021-03-03 19:05:01 +0300 |
commit | b83193bc0f55d12f9ade808d551929a068d10f2e (patch) | |
tree | 5d49c4d2f99131bc7d32e41ca8b628ded60f0679 /plugins/SolidView | |
parent | 538ccf5e21059956c51e9356f9dce96cdd5ddf31 (diff) |
Fix lowest slice height
Don't always divide by 2. Just for slicing tolerance: Middle. And then just once.
Contributes to issue CURA-7871.
Diffstat (limited to 'plugins/SolidView')
-rw-r--r-- | plugins/SolidView/SolidView.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py index ac9586eeb5..593648857f 100644 --- a/plugins/SolidView/SolidView.py +++ b/plugins/SolidView/SolidView.py @@ -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): |