From a1322d7c9546dc78204c0ba9980c1e3094149e7a Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 19 Mar 2020 20:33:23 +0100 Subject: Cleanup: fix typos in comments Contributed by luzpaz. Differential Revision: https://developer.blender.org/D7133 --- source/blender/blenkernel/intern/fluid.c | 2 +- source/blender/blenkernel/intern/mesh_evaluate.c | 2 +- source/blender/blenkernel/intern/modifier.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/blenkernel/intern') 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; } -- cgit v1.2.3