From 5a0447ca88e7a003853d96bcf2ab1981f9a6b674 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 10 Sep 2022 14:19:34 +1000 Subject: Cleanup: spelling in comments --- source/blender/bmesh/operators/bmo_utils.c | 4 ++-- source/blender/makesdna/DNA_sequence_types.h | 2 +- source/blender/nodes/composite/nodes/node_composite_bokehblur.cc | 2 +- source/blender/render/intern/render_result.cc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender') diff --git a/source/blender/bmesh/operators/bmo_utils.c b/source/blender/bmesh/operators/bmo_utils.c index 309ef2cf21e..d88f3112a71 100644 --- a/source/blender/bmesh/operators/bmo_utils.c +++ b/source/blender/bmesh/operators/bmo_utils.c @@ -470,7 +470,7 @@ void bmo_rotate_uvs_exec(BMesh *bm, BMOperator *op) BMLoop *lf; /* current face loops */ MLoopUV *f_luv; /* first face loop uv */ float p_uv[2]; /* previous uvs */ - float t_uv[2]; /* tmp uvs */ + float t_uv[2]; /* temp uvs */ int n = 0; BM_ITER_ELEM (lf, &l_iter, fs, BM_LOOPS_OF_FACE) { @@ -603,7 +603,7 @@ void bmo_rotate_colors_exec(BMesh *bm, BMOperator *op) const size_t size = cd_loop_color_type == CD_PROP_COLOR ? sizeof(MPropCol) : sizeof(MLoopCol); void *p_col; /* previous color */ - void *t_col = alloca(size); /* tmp color */ + void *t_col = alloca(size); /* Temp color. */ BMO_ITER (fs, &fs_iter, op->slots_in, "faces", BM_FACE) { if (use_ccw == false) { /* same loops direction */ diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index b436b33cfb3..c0f92010c22 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -136,7 +136,7 @@ typedef struct SequenceRuntime { */ typedef struct Sequence { struct Sequence *next, *prev; - /** Tmp var for copying, and tagging for linked selection. */ + /** Temp var for copying, and tagging for linked selection. */ void *tmp; /** Needed (to be like ipo), else it will raise libdata warnings, this should never be used. */ void *lib; diff --git a/source/blender/nodes/composite/nodes/node_composite_bokehblur.cc b/source/blender/nodes/composite/nodes/node_composite_bokehblur.cc index 182169405de..9c0617ee8c3 100644 --- a/source/blender/nodes/composite/nodes/node_composite_bokehblur.cc +++ b/source/blender/nodes/composite/nodes/node_composite_bokehblur.cc @@ -113,7 +113,7 @@ class BokehBlurOperation : public NodeOperation { * computations of the bokeh blur. */ const float size = math::clamp(get_input("Size").get_float_value_default(1.0f), 0.0f, 10.0f); - /* The 100 divisor is arbitrary and was chosen using visual judgement. */ + /* The 100 divisor is arbitrary and was chosen using visual judgment. */ return size * (max_size / 100.0f); } diff --git a/source/blender/render/intern/render_result.cc b/source/blender/render/intern/render_result.cc index 50eb7e9f2d2..8b7a07e2b3f 100644 --- a/source/blender/render/intern/render_result.cc +++ b/source/blender/render/intern/render_result.cc @@ -952,7 +952,7 @@ static void render_result_exr_file_cache_path(Scene *sce, } BLI_hash_md5_to_hexdigest(path_digest, path_hexdigest); - /* Default to *non-volatile* tmp dir. */ + /* Default to *non-volatile* temp dir. */ if (*root == '\0') { root = BKE_tempdir_base(); } -- cgit v1.2.3