diff options
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_array.c | 4 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_boolean.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_mirror.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_screw.c | 12 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_solidify.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvg_util.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvg_util.h | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvgproximity.c | 2 |
8 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index 05fcb04d7ea..3949938321a 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -349,7 +349,7 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd, BMO_op_finish(em->bm, &findop); } - /* generate merge mappping using index map. we do this by using the + /* generate merge mapping using index map. we do this by using the * operator slots as lookup arrays.*/ #define E(i) (i) < s1->len ? _E(s1, i) : _E(s2, (i)-s1->len) @@ -377,7 +377,7 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd, if ((start_cap || end_cap) && /* BMESH_TODO - theres a bug in DM_to_bmesh_ex() when in editmode! - * this needs investigation, but for now at least dont crash */ + * this needs investigation, but for now at least don't crash */ ob->mode != OB_MODE_EDIT ) diff --git a/source/blender/modifiers/intern/MOD_boolean.c b/source/blender/modifiers/intern/MOD_boolean.c index 9f15060033d..3bf30e5fa14 100644 --- a/source/blender/modifiers/intern/MOD_boolean.c +++ b/source/blender/modifiers/intern/MOD_boolean.c @@ -135,7 +135,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, /* when one of objects is empty (has got no faces) we could speed up * calculation a bit returning one of objects' derived meshes (or empty one) - * Returning mesh is depended on modifieier's operation (sergey) */ + * Returning mesh is depended on modifiers operation (sergey) */ result = get_quick_derivedMesh(derivedData, dm, bmd->operation); if(result == NULL) { diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c index 51e65e2387a..29b37acaeaf 100644 --- a/source/blender/modifiers/intern/MOD_mirror.c +++ b/source/blender/modifiers/intern/MOD_mirror.c @@ -162,7 +162,7 @@ static DerivedMesh *doMirrorOnAxis(MirrorModifierData *mmd, } /* copy customdata to new geometry, - * copy from its self becayse this data may have been created in the checks above */ + * copy from its self because this data may have been created in the checks above */ DM_copy_vert_data(result, result, 0, maxVerts, maxVerts); DM_copy_edge_data(result, result, 0, maxEdges, maxEdges); /* loops are copied later */ diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index f88c49fc6d7..52574e89d89 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -175,7 +175,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, ScrewVertConnect *vc, *vc_tmp, *vert_connect= NULL; - /* dont do anything? */ + /* don't do anything? */ if (!totvert) return CDDM_from_template(dm, 0, 0, 0, 0, 0); @@ -388,7 +388,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, vc->v[0]= vc->v[1]= -1; mul_m4_v3(mtx_tx, vc->co); - /* length in 2d, dont sqrt because this is only for comparison */ + /* length in 2d, don't sqrt because this is only for comparison */ vc->dist = vc->co[other_axis_1]*vc->co[other_axis_1] + vc->co[other_axis_2]*vc->co[other_axis_2]; @@ -405,7 +405,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, vc->e[0]= vc->e[1]= NULL; vc->v[0]= vc->v[1]= -1; - /* length in 2d, dont sqrt because this is only for comparison */ + /* length in 2d, don't sqrt because this is only for comparison */ vc->dist = vc->co[other_axis_1]*vc->co[other_axis_1] + vc->co[other_axis_2]*vc->co[other_axis_2]; @@ -426,7 +426,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, vc->e[1]= med_new; } else { - vc->v[0]= vc->v[1]= -2; /* erro value - dont use, 3 edges on vert */ + vc->v[0]= vc->v[1]= -2; /* erro value - don't use, 3 edges on vert */ } vc= &vert_connect[med_new->v2]; @@ -441,7 +441,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, vc->e[1]= med_new; } else { - vc->v[0]= vc->v[1]= -2; /* erro value - dont use, 3 edges on vert */ + vc->v[0]= vc->v[1]= -2; /* erro value - don't use, 3 edges on vert */ } } @@ -639,7 +639,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, } else { /* only 1 edge connected - same as above except - * dont need to average edge direction */ + * don't need to average edge direction */ if (vc->e && vc->e[0]->v2 == i) { sub_v3_v3v3(tmp_vec1, mvert_new[i].co, mvert_new[vc->v[0]].co); } diff --git a/source/blender/modifiers/intern/MOD_solidify.c b/source/blender/modifiers/intern/MOD_solidify.c index b7c820991f1..cca4cda7e20 100644 --- a/source/blender/modifiers/intern/MOD_solidify.c +++ b/source/blender/modifiers/intern/MOD_solidify.c @@ -400,7 +400,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, ed->v2 += numVerts; } - /* note, copied vertex layers dont have flipped normals yet. do this after applying offset */ + /* note, copied vertex layers don't have flipped normals yet. do this after applying offset */ if((smd->flag & MOD_SOLIDIFY_EVEN) == 0) { /* no even thickness, very simple */ float scalar_short; diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.c b/source/blender/modifiers/intern/MOD_weightvg_util.c index 3bc6c318d9f..95e752c35df 100644 --- a/source/blender/modifiers/intern/MOD_weightvg_util.c +++ b/source/blender/modifiers/intern/MOD_weightvg_util.c @@ -109,7 +109,7 @@ void weightvg_do_map(int num, float *new_w, short falloff_type, CurveMapping *cm * Return values are in org_w. * If indices is not NULL, it must be a table of same length as org_w and new_w, mapping to the real * vertex index (in case the weight tables do not cover the whole vertices...). - * XXX The standard “factor” value is assumed in [0.0, 1.0] range. Else, weird results might appear. + * XXX The standard "factor" value is assumed in [0.0, 1.0] range. Else, weird results might appear. */ void weightvg_do_mask(int num, const int *indices, float *org_w, const float *new_w, Object *ob, DerivedMesh *dm, float fact, const char defgrp_name[MAX_VGROUP_NAME], diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.h b/source/blender/modifiers/intern/MOD_weightvg_util.h index a723d0f02e5..57ba115c04e 100644 --- a/source/blender/modifiers/intern/MOD_weightvg_util.h +++ b/source/blender/modifiers/intern/MOD_weightvg_util.h @@ -70,7 +70,7 @@ void weightvg_do_map(int num, float *new_w, short mode, struct CurveMapping *cma * Return values are in org_w. * If indices is not NULL, it must be a table of same length as org_w and new_w, mapping to the real * vertex index (in case the weight tables do not cover the whole vertices...). - * XXX The standard “factor” value is assumed in [0.0, 1.0] range. Else, weird results might appear. + * XXX The standard "factor" value is assumed in [0.0, 1.0] range. Else, weird results might appear. */ void weightvg_do_mask(int num, const int *indices, float *org_w, const float *new_w, Object *ob, DerivedMesh *dm, float fact, const char defgrp_name[MAX_VGROUP_NAME], Tex *texture, diff --git a/source/blender/modifiers/intern/MOD_weightvgproximity.c b/source/blender/modifiers/intern/MOD_weightvgproximity.c index ec9b2b80d83..4babe615a19 100644 --- a/source/blender/modifiers/intern/MOD_weightvgproximity.c +++ b/source/blender/modifiers/intern/MOD_weightvgproximity.c @@ -183,7 +183,7 @@ static float get_ob2ob_distance(const Object* ob, const Object* obr) } /** - * Maps distances to weights, with an optionnal “smoothing” mapping. + * Maps distances to weights, with an optionnal "smoothing" mapping. */ void do_map(float *weights, const int nidx, const float min_d, const float max_d, short mode) { |