diff --git a/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py b/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py index 79d4a30446..1aec739f92 100644 --- a/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py +++ b/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py @@ -106,7 +106,8 @@ class ProcessSlicedObjectListJob(Job): points -= center layer_data.addPolygon(layer.id, polygon.type, points, polygon.line_width) - + Job.yieldThread() + Job.yieldThread() current_layer += 1 progress = (current_layer / layer_count) * 100 # TODO: Rebuild the layer data mesh once the layer has been processed. diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py index d9895e1d06..607455c7b3 100644 --- a/plugins/SolidView/SolidView.py +++ b/plugins/SolidView/SolidView.py @@ -33,6 +33,7 @@ class SolidView(View): if not self._disabled_shader: self._disabled_shader = OpenGL.getInstance().createShaderProgram(Resources.getPath(Resources.Shaders, "overhang.shader")) self._disabled_shader.setUniformValue("u_diffuseColor", [0.68, 0.68, 0.68, 1.0]) + self._disabled_shader.setUniformValue("u_overhangAngle", math.cos(math.radians(0))) if Application.getInstance().getMachineManager().getWorkingProfile(): profile = Application.getInstance().getMachineManager().getWorkingProfile() diff --git a/resources/machines/fdmprinter.json b/resources/machines/fdmprinter.json index 0564ceea6d..2786ca27fa 100644 --- a/resources/machines/fdmprinter.json +++ b/resources/machines/fdmprinter.json @@ -1296,8 +1296,10 @@ "unit": "°", "type": "float", "min_value": "-90", + "min_value_warning": "-45", + "max_value_warning": "45", "max_value": "90", - "default": -30, + "default": 30, "visible": false, "enabled": "support_conical_enabled and support_enable" },