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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-29 13:12:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-29 15:06:26 +0300
commitd17e07274ab376ce518c132e36ebc44e4c4fccb4 (patch)
treeee0877ee6abecbc38d79c05b5263f915dc076b12 /source/blender/nodes/texture
parenta57fec986d2d7093fc8148188315274e4f150857 (diff)
Cleanup: comments (long lines) in nodes
Diffstat (limited to 'source/blender/nodes/texture')
-rw-r--r--source/blender/nodes/texture/node_texture_tree.c5
-rw-r--r--source/blender/nodes/texture/nodes/node_texture_proc.c3
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],