mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:15:56 +08: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
@ -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…
x
Reference in New Issue
Block a user