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:
authorRemco Burema <r.burema@ultimaker.com>2020-04-29 13:06:20 +0300
committerRemco Burema <r.burema@ultimaker.com>2020-04-29 13:06:20 +0300
commit4c4e611629cba873d795b84159860de4c7bc7e07 (patch)
tree368714c6173cbdac79c808d4f3fb92e957686701 /plugins/SolidView
parent8386d094d3bc9226754b8e2d4b6728735283380b (diff)
Fix x-ray error color.
X-ray errors showed as green and translucent instead of read and solid. Now fixed. CURA-7407
Diffstat (limited to 'plugins/SolidView')
-rw-r--r--plugins/SolidView/SolidView.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py
index 09d27859b5..bfe803f224 100644
--- a/plugins/SolidView/SolidView.py
+++ b/plugins/SolidView/SolidView.py
@@ -149,6 +149,7 @@ class SolidView(View):
theme = Application.getInstance().getTheme()
self._xray_composite_shader.setUniformValue("u_background_color", Color(*theme.getColor("viewport_background").getRgb()))
self._xray_composite_shader.setUniformValue("u_outline_color", Color(*theme.getColor("model_selection_outline").getRgb()))
+ self._xray_composite_shader.setUniformValue("u_flat_error_color_mix", 0.) # Don't show flat error color in solid-view.
renderer = self.getRenderer()
if not self._composite_pass or not 'xray' in self._composite_pass.getLayerBindings():