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

This commit is contained in:
Jack Ha 2018-03-29 14:10:50 +02:00
parent 54c85fd0ea
commit f9e7d119af

View file

@ -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