diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-03-19 22:33:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-03-19 23:55:17 +0300 |
commit | a1322d7c9546dc78204c0ba9980c1e3094149e7a (patch) | |
tree | 3444928d197ebb9aacca58124e67d2efc637abb5 /source/blender/blenkernel | |
parent | 83f171b6269fa5f1491c8517882984801e6b49cc (diff) |
Cleanup: fix typos in comments
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D7133
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/fluid.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/mesh_evaluate.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/modifier.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/fluid.c b/source/blender/blenkernel/intern/fluid.c index 462447db7fa..89e0c7a4bf0 100644 --- a/source/blender/blenkernel/intern/fluid.c +++ b/source/blender/blenkernel/intern/fluid.c @@ -4259,7 +4259,7 @@ static void manta_smoke_calc_transparency(FluidDomainSettings *mds, ViewLayer *v // get starting cell (light pos) if (BLI_bvhtree_bb_raycast(bv, light, voxel_center, pos) > FLT_EPSILON) { - // we're ouside -> use point on side of domain + // we're outside -> use point on side of domain cell[0] = (int)floor(pos[0]); cell[1] = (int)floor(pos[1]); cell[2] = (int)floor(pos[2]); diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c index ac5a68b7764..0b3650fd40a 100644 --- a/source/blender/blenkernel/intern/mesh_evaluate.c +++ b/source/blender/blenkernel/intern/mesh_evaluate.c @@ -1279,7 +1279,7 @@ static void split_loop_nor_fan_do(LoopSplitTaskDataCommon *common_data, LoopSpli copy_v3_v3(nor, lnor); } } - /* Extra bonus: since small-stack is local to this funcion, + /* Extra bonus: since small-stack is local to this function, * no more need to empty it at all cost! */ } } diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c index 43e246bb342..0a76b61cdb1 100644 --- a/source/blender/blenkernel/intern/modifier.c +++ b/source/blender/blenkernel/intern/modifier.c @@ -677,7 +677,7 @@ Object *modifiers_isDeformedByArmature(Object *ob) } } - if (amd) { /* if were still here then return the last armature */ + if (amd) { /* if we're still here then return the last armature */ return amd->object; } @@ -700,7 +700,7 @@ Object *modifiers_isDeformedByMeshDeform(Object *ob) } } - if (mdmd) { /* if were still here then return the last armature */ + if (mdmd) { /* if we're still here then return the last armature */ return mdmd->object; } @@ -726,7 +726,7 @@ Object *modifiers_isDeformedByLattice(Object *ob) } } - if (lmd) { /* if were still here then return the last lattice */ + if (lmd) { /* if we're still here then return the last lattice */ return lmd->object; } @@ -752,7 +752,7 @@ Object *modifiers_isDeformedByCurve(Object *ob) } } - if (cmd) { /* if were still here then return the last curve */ + if (cmd) { /* if we're still here then return the last curve */ return cmd->object; } |