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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-05-14 20:34:31 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-14 20:59:07 +0300
commit2f6c4e5bb48f974c3534fcda661366edf478f569 (patch)
tree8be5ff5a524298ae674039c048b1b0f3c648bbb7 /source/blender
parenteefd68013cb8b4c9e69bf76d9f7ad3d8bd68e065 (diff)
Fix T64455 Texture extension mode 'clip' defaults to 'extend'
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_tex_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_image.c b/source/blender/nodes/shader/nodes/node_shader_tex_image.c
index 95e76491b4a..924714e561a 100644
--- a/source/blender/nodes/shader/nodes/node_shader_tex_image.c
+++ b/source/blender/nodes/shader/nodes/node_shader_tex_image.c
@@ -174,6 +174,7 @@ static int node_shader_gpu_tex_image(GPUMaterial *mat,
if (tex->projection != SHD_PROJ_BOX) {
if (do_texco_clip) {
gpu_node_name = names_clip[tex->interpolation];
+ in[0].link = input_coords;
GPU_stack_link(mat, node, gpu_node_name, in, out, GPU_image(ima, iuser), out[0].link);
}
}