Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2021-03-03 19:05:01 +0300
committerGhostkeeper <rubend@tutanota.com>2021-03-03 19:05:01 +0300
commitb83193bc0f55d12f9ade808d551929a068d10f2e (patch)
tree5d49c4d2f99131bc7d32e41ca8b628ded60f0679 /plugins/SolidView
parent538ccf5e21059956c51e9356f9dce96cdd5ddf31 (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.py4
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):