diff options
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/fluid.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/linestyle.c | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/blenkernel/intern/fluid.c b/source/blender/blenkernel/intern/fluid.c index f85361e94ff..ca9d758c692 100644 --- a/source/blender/blenkernel/intern/fluid.c +++ b/source/blender/blenkernel/intern/fluid.c @@ -1937,7 +1937,7 @@ static void sample_mesh(FluidFlowSettings *ffs, interp_v2_v2v2v2(tex_co, UNPACK3(uv), weights); - /* Map texure coord between -1.0f and 1.0f. */ + /* Map texture coord between -1.0f and 1.0f. */ tex_co[0] = tex_co[0] * 2.0f - 1.0f; tex_co[1] = tex_co[1] * 2.0f - 1.0f; tex_co[2] = ffs->texture_offset; diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c index e50d6263423..bbcc886f3ff 100644 --- a/source/blender/blenkernel/intern/linestyle.c +++ b/source/blender/blenkernel/intern/linestyle.c @@ -2035,7 +2035,7 @@ bool BKE_linestyle_use_textures(FreestyleLineStyle *linestyle, const bool use_sh void BKE_linestyle_default_shader(const bContext *C, FreestyleLineStyle *linestyle) { - bNode *uv_along_stroke, *input_texure, *output_linestyle; + bNode *uv_along_stroke, *input_texture, *output_linestyle; bNodeSocket *fromsock, *tosock; bNodeTree *ntree; @@ -2050,9 +2050,9 @@ void BKE_linestyle_default_shader(const bContext *C, FreestyleLineStyle *linesty uv_along_stroke->locy = 300.0f; uv_along_stroke->custom1 = 0; /* use_tips */ - input_texure = nodeAddStaticNode(C, ntree, SH_NODE_TEX_IMAGE); - input_texure->locx = 200.0f; - input_texure->locy = 300.0f; + input_texture = nodeAddStaticNode(C, ntree, SH_NODE_TEX_IMAGE); + input_texture->locx = 200.0f; + input_texture->locy = 300.0f; output_linestyle = nodeAddStaticNode(C, ntree, SH_NODE_OUTPUT_LINESTYLE); output_linestyle->locx = 400.0f; @@ -2060,15 +2060,15 @@ void BKE_linestyle_default_shader(const bContext *C, FreestyleLineStyle *linesty output_linestyle->custom1 = MA_RAMP_BLEND; output_linestyle->custom2 = 0; /* use_clamp */ - nodeSetActive(ntree, input_texure); + nodeSetActive(ntree, input_texture); 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); + tosock = BLI_findlink(&input_texture->inputs, 0); /* UV */ + nodeAddLink(ntree, uv_along_stroke, fromsock, input_texture, tosock); - fromsock = BLI_findlink(&input_texure->outputs, 0); /* Color */ + fromsock = BLI_findlink(&input_texture->outputs, 0); /* Color */ tosock = BLI_findlink(&output_linestyle->inputs, 0); /* Color */ - nodeAddLink(ntree, input_texure, fromsock, output_linestyle, tosock); + nodeAddLink(ntree, input_texture, fromsock, output_linestyle, tosock); BKE_ntree_update_main_tree(CTX_data_main(C), ntree, NULL); } |