mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Remove face selection for a PreviewPass
Fixes issue where the selected face for the lay-flat feature showed up in the model thumbail of print jobs. CURA-6754
This commit is contained in:
parent
a279ee5f22
commit
0cd664975e
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ class PreviewPass(RenderPass):
|
|||
self._shader.setUniformValue("u_ambientColor", [0.1, 0.1, 0.1, 1.0])
|
||||
self._shader.setUniformValue("u_specularColor", [0.6, 0.6, 0.6, 1.0])
|
||||
self._shader.setUniformValue("u_shininess", 20.0)
|
||||
self._shader.setUniformValue("u_faceId", -1) # de-select any selected faces
|
||||
|
||||
if not self._non_printing_shader:
|
||||
if self._non_printing_shader:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue