mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 05:41:05 -07:00
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:
parent
54c85fd0ea
commit
f9e7d119af
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class PreviewPass(RenderPass):
|
||||||
diffuse_color[2] * shade_factor,
|
diffuse_color[2] * shade_factor,
|
||||||
1.0]
|
1.0]
|
||||||
uniforms["diffuse_color"] = prettier_color(diffuse_color)
|
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)
|
batch_support_mesh.addItem(node.getWorldTransformation(), node.getMeshData(), uniforms = uniforms)
|
||||||
else:
|
else:
|
||||||
# Normal scene node
|
# Normal scene node
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue