Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Ha <jackha@gmail.com>2018-03-29 15:10:50 +0300
committerJack Ha <jackha@gmail.com>2018-03-29 15:10:50 +0300
commitf9e7d119afb91fe689e90321653de158c6c5f3fc (patch)
tree877729041776a9fcc5e265ad85dba32e4bf5252b /cura/PreviewPass.py
parent54c85fd0ea54d3f890c73e85fa7d0965a00c0283 (diff)
CURA-5019 thumbnail: do not scale the second color of support meshes or the checkboard pattern is not visible anymore
Diffstat (limited to 'cura/PreviewPass.py')
-rw-r--r--cura/PreviewPass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/PreviewPass.py b/cura/PreviewPass.py
index 2a3080b0cc..f6b963d141 100644
--- a/cura/PreviewPass.py
+++ b/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