diff options
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_proc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_proc.c b/source/blender/nodes/texture/nodes/node_texture_proc.c index bb7ee5f5bff..2cd4e31feb3 100644 --- a/source/blender/nodes/texture/nodes/node_texture_proc.c +++ b/source/blender/nodes/texture/nodes/node_texture_proc.c @@ -137,10 +137,12 @@ static int count_outputs(bNode *node) bNodeStack **out) \ { \ int outs = count_outputs(node); \ - if (outs >= 1) \ + if (outs >= 1) { \ tex_output(node, execdata, in, out[0], &name##_colorfn, data); \ - if (outs >= 2) \ + } \ + if (outs >= 2) { \ tex_output(node, execdata, in, out[1], &name##_normalfn, data); \ + } \ } /* --- VORONOI -- */ |