From f6ae27daef0e0a27e0c14ef3412161eec229c539 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 4 Mar 2012 04:35:12 +0000 Subject: style cleanup - comment spelling + translate some dutch. --- source/blender/modifiers/intern/MOD_cast.c | 4 ++-- source/blender/modifiers/intern/MOD_screw.c | 2 +- source/blender/modifiers/intern/MOD_weightvg_util.c | 2 +- source/blender/modifiers/intern/MOD_weightvg_util.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_cast.c b/source/blender/modifiers/intern/MOD_cast.c index 75aecc4f5af..7de8a8f7923 100644 --- a/source/blender/modifiers/intern/MOD_cast.c +++ b/source/blender/modifiers/intern/MOD_cast.c @@ -198,7 +198,7 @@ static void sphere_do( * tiny optimization: the code is separated (with parts repeated) * in two possible cases: * with or w/o a vgroup. With lots of if's in the code below, - * further optimizations are possible, if needed */ + * further optimization's are possible, if needed */ if (dvert) { /* with a vgroup */ MDeformVert *dv= dvert; float fac_orig = fac; @@ -396,7 +396,7 @@ static void cuboid_do( * tiny optimization: the code is separated (with parts repeated) * in two possible cases: * with or w/o a vgroup. With lots of if's in the code below, - * further optimizations are possible, if needed */ + * further optimization's are possible, if needed */ if (dvert) { /* with a vgroup */ float fac_orig = fac; for (i = 0; i < numVerts; i++) { diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index 34957670080..496d41b1550 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -345,7 +345,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, /* Notice! * * Since we are only ordering the edges here it can avoid mallocing the - * extra space by abusing the vert array berfore its filled with new verts. + * extra space by abusing the vert array before its filled with new verts. * The new array for vert_connect must be at least sizeof(ScrewVertConnect) * totvert * and the size of our resulting meshes array is sizeof(MVert) * totvert * 3 * so its safe to use the second 2 thrids of MVert the array for vert_connect, diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.c b/source/blender/modifiers/intern/MOD_weightvg_util.c index 54baa9f9b18..3bc6c318d9f 100644 --- a/source/blender/modifiers/intern/MOD_weightvg_util.c +++ b/source/blender/modifiers/intern/MOD_weightvg_util.c @@ -225,7 +225,7 @@ void weightvg_do_mask(int num, const int *indices, float *org_w, const float *ne -/* Applies weights to given vgroup (defgroup), and optionnaly add/remove vertices from the group. +/* Applies weights to given vgroup (defgroup), and optionally add/remove vertices from the group. * If dws is not NULL, it must be an array of MDeformWeight pointers of same length as weights (and * defgrp_idx can then have any value). * If indices is not NULL, it must be an array of same length as weights, mapping to the real diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.h b/source/blender/modifiers/intern/MOD_weightvg_util.h index ff5727cd403..a723d0f02e5 100644 --- a/source/blender/modifiers/intern/MOD_weightvg_util.h +++ b/source/blender/modifiers/intern/MOD_weightvg_util.h @@ -77,7 +77,7 @@ void weightvg_do_mask(int num, const int *indices, float *org_w, const float *ne int tex_use_channel, int tex_mapping, Object *tex_map_object, const char *tex_uvlayer_name); -/* Applies weights to given vgroup (defgroup), and optionnaly add/remove vertices from the group. +/* Applies weights to given vgroup (defgroup), and optionally add/remove vertices from the group. * If indices is not NULL, it must be a table of same length as weights, mapping to the real * vertex index (in case the weight table does not cover the whole vertices...). */ -- cgit v1.2.3