diff options
Diffstat (limited to 'source/blender/nodes/texture')
-rw-r--r-- | source/blender/nodes/texture/node_texture_tree.c | 5 | ||||
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_proc.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/nodes/texture/node_texture_tree.c b/source/blender/nodes/texture/node_texture_tree.c index 60630da586d..43deea9c2de 100644 --- a/source/blender/nodes/texture/node_texture_tree.c +++ b/source/blender/nodes/texture/node_texture_tree.c @@ -325,8 +325,9 @@ int ntreeTexExecTree(bNodeTree *nodes, retval |= TEX_NOR; } retval |= TEX_RGB; - /* confusing stuff; the texture output node sets this to NULL to indicate no normal socket was set - * however, the texture code checks this for other reasons (namely, a normal is required for material) */ + /* confusing stuff; the texture output node sets this to NULL to indicate no normal socket was + * set however, the texture code checks this for other reasons + * (namely, a normal is required for material). */ texres->nor = nor; return retval; diff --git a/source/blender/nodes/texture/nodes/node_texture_proc.c b/source/blender/nodes/texture/nodes/node_texture_proc.c index bf7cdf18d44..b0b646dfd16 100644 --- a/source/blender/nodes/texture/nodes/node_texture_proc.c +++ b/source/blender/nodes/texture/nodes/node_texture_proc.c @@ -44,7 +44,8 @@ static bNodeSocketTemplate outputs_color_only[] = {{SOCK_RGBA, 0, N_("Color")}, SOCK_RGBA, 1, "Color 2", 1.0f, 1.0f, 1.0f, 1.0f \ } -/* Calls multitex and copies the result to the outputs. Called by xxx_exec, which handles inputs. */ +/* Calls multitex and copies the result to the outputs. + * Called by xxx_exec, which handles inputs. */ static void do_proc(float *result, TexParams *p, const float col1[4], |