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/blenkernel/intern/linestyle.c')
-rw-r--r--source/blender/blenkernel/intern/linestyle.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c
index f32a62376ac..733a2bcd1e1 100644
--- a/source/blender/blenkernel/intern/linestyle.c
+++ b/source/blender/blenkernel/intern/linestyle.c
@@ -2059,7 +2059,7 @@ void BKE_linestyle_default_shader(const bContext *C, FreestyleLineStyle *linesty
uv_along_stroke = nodeAddStaticNode(C, ntree, SH_NODE_UVALONGSTROKE);
uv_along_stroke->locx = 0.0f;
uv_along_stroke->locy = 300.0f;
- uv_along_stroke->custom1 = 0; // use_tips
+ uv_along_stroke->custom1 = 0; /* use_tips */
input_texure = nodeAddStaticNode(C, ntree, SH_NODE_TEX_IMAGE);
input_texure->locx = 200.0f;
@@ -2069,16 +2069,16 @@ void BKE_linestyle_default_shader(const bContext *C, FreestyleLineStyle *linesty
output_linestyle->locx = 400.0f;
output_linestyle->locy = 300.0f;
output_linestyle->custom1 = MA_RAMP_BLEND;
- output_linestyle->custom2 = 0; // use_clamp
+ output_linestyle->custom2 = 0; /* use_clamp */
nodeSetActive(ntree, input_texure);
- fromsock = BLI_findlink(&uv_along_stroke->outputs, 0); // UV
- tosock = BLI_findlink(&input_texure->inputs, 0); // UV
+ fromsock = BLI_findlink(&uv_along_stroke->outputs, 0); /* UV */
+ tosock = BLI_findlink(&input_texure->inputs, 0); /* UV */
nodeAddLink(ntree, uv_along_stroke, fromsock, input_texure, tosock);
- fromsock = BLI_findlink(&input_texure->outputs, 0); // Color
- tosock = BLI_findlink(&output_linestyle->inputs, 0); // Color
+ fromsock = BLI_findlink(&input_texure->outputs, 0); /* Color */
+ tosock = BLI_findlink(&output_linestyle->inputs, 0); /* Color */
nodeAddLink(ntree, input_texure, fromsock, output_linestyle, tosock);
ntreeUpdateTree(CTX_data_main(C), ntree);