Browse Source

CURA-5019 thumbnail: do not scale the second color of support meshes or the checkboard pattern is not visible anymore

Jack Ha 7 years ago
parent
commit
f9e7d119af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/PreviewPass.py

+ 1 - 1
cura/PreviewPass.py

@@ -95,7 +95,7 @@ class PreviewPass(RenderPass):
                         diffuse_color[2] * shade_factor,
                         1.0]
                     uniforms["diffuse_color"] = prettier_color(diffuse_color)
-                    uniforms["diffuse_color_2"] = prettier_color(diffuse_color2)
+                    uniforms["diffuse_color_2"] = diffuse_color2
                     batch_support_mesh.addItem(node.getWorldTransformation(), node.getMeshData(), uniforms = uniforms)
                 else:
                     # Normal scene node