Fix T64455 Texture extension mode 'clip' defaults to 'extend'

This commit is contained in:
Clément Foucault 2019-05-14 19:34:31 +02:00
parent eefd68013c
commit 2f6c4e5bb4
Notes: blender-bot 2023-02-14 11:18:07 +01:00
Referenced by issue #64455, Texture extension mode 'clip' defaults to 'extend'
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
}