diff options
author | Remco Burema <r.burema@ultimaker.com> | 2020-04-29 13:06:20 +0300 |
---|---|---|
committer | Remco Burema <r.burema@ultimaker.com> | 2020-04-29 13:06:20 +0300 |
commit | 4c4e611629cba873d795b84159860de4c7bc7e07 (patch) | |
tree | 368714c6173cbdac79c808d4f3fb92e957686701 /plugins/SolidView | |
parent | 8386d094d3bc9226754b8e2d4b6728735283380b (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.py | 1 |
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(): |