diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-13 06:01:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-13 06:14:33 +0300 |
commit | d1bd33407da3183335805beec561c18e6f5aa6e0 (patch) | |
tree | 564bd2c8b1d2c99ff3ad9d76628efa3ec04c292b /source/blender/modifiers/intern | |
parent | f874f6817d1c793da4fd423a3c8bf0e504ebfa4a (diff) |
Cleanup: pass const variables
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_datatransfer.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_weighted_normal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_datatransfer.c b/source/blender/modifiers/intern/MOD_datatransfer.c index 5e6a5046a5b..3e79dd91d2b 100644 --- a/source/blender/modifiers/intern/MOD_datatransfer.c +++ b/source/blender/modifiers/intern/MOD_datatransfer.c @@ -184,7 +184,7 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mes if (((result == me) || (me->mvert == result->mvert) || (me->medge == result->medge)) && (dtmd->data_types & DT_TYPES_AFFECT_MESH)) { - /* We need to duplicate data here, otherwise setting custom normals, edges' shaprness, etc., + /* We need to duplicate data here, otherwise setting custom normals, edges' sharpness, etc., * could modify org mesh, see T43671. */ BKE_id_copy_ex(NULL, &me_mod->id, (ID **)&result, LIB_ID_COPY_LOCALIZE); } diff --git a/source/blender/modifiers/intern/MOD_weighted_normal.c b/source/blender/modifiers/intern/MOD_weighted_normal.c index 84ba6a7b148..92055119298 100644 --- a/source/blender/modifiers/intern/MOD_weighted_normal.c +++ b/source/blender/modifiers/intern/MOD_weighted_normal.c @@ -360,7 +360,7 @@ static void apply_weights_vertex_normal(WeightedNormalModifierData *wnmd, } else { /* TODO: Ideally, we could add an option to BKE_mesh_normals_loop_custom_[from_vertices_]set() - * to keep current clnors instead of resetting them to default autocomputed ones, + * to keep current clnors instead of resetting them to default auto-computed ones, * when given new custom normal is zero-vec. * But this is not exactly trivial change, better to keep this optimization for later... */ |