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:
Diffstat (limited to 'source/blender/nodes/texture/nodes/node_texture_proc.c')
-rw-r--r--source/blender/nodes/texture/nodes/node_texture_proc.c8
1 files changed, 5 insertions, 3 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..a8a82153e58 100644
--- a/source/blender/nodes/texture/nodes/node_texture_proc.c
+++ b/source/blender/nodes/texture/nodes/node_texture_proc.c
@@ -24,7 +24,7 @@
#include "NOD_texture.h"
#include "node_texture_util.h"
-#include "RE_shader_ext.h"
+#include "RE_texture.h"
/*
* In this file: wrappers to use procedural textures as nodes
@@ -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 -- */