diff options
author | Hans Goudey <h.goudey@me.com> | 2020-11-19 00:14:48 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-11-19 00:14:48 +0300 |
commit | 8f30a88e63fe2c86aa004f302e6f3bd4c172ea39 (patch) | |
tree | e0bad5e526554dd254fa14c9474cbc83b72b7588 /source/blender/bmesh | |
parent | 038828f49a4f50901684a059fc990626c13e6949 (diff) |
Cleanup: Grammar: "Allow to" vs gerund
In cases where "Allow" is followed by an infinitive, a noun needs
to directly follow it. But it makes more sense to follow it with a
gerund instead.
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_mesh.c | 2 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_mods.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mesh.c b/source/blender/bmesh/intern/bmesh_mesh.c index 1393edfe8a2..634db9276a6 100644 --- a/source/blender/bmesh/intern/bmesh_mesh.c +++ b/source/blender/bmesh/intern/bmesh_mesh.c @@ -501,7 +501,7 @@ void BM_mesh_normals_update(BMesh *bm) { float(*edgevec)[3] = MEM_mallocN(sizeof(*edgevec) * bm->totedge, __func__); - /* Parallel mempool iteration does not allow to generate indices inline anymore... */ + /* Parallel mempool iteration does not allow generating indices inline anymore... */ BM_mesh_elem_index_ensure(bm, (BM_EDGE | BM_FACE)); /* calculate all face normals */ diff --git a/source/blender/bmesh/intern/bmesh_mods.h b/source/blender/bmesh/intern/bmesh_mods.h index 46186306fec..7491c309754 100644 --- a/source/blender/bmesh/intern/bmesh_mods.h +++ b/source/blender/bmesh/intern/bmesh_mods.h @@ -80,13 +80,13 @@ BMEdge *BM_edge_rotate(BMesh *bm, BMEdge *e, const bool ccw, const short check_f /** Flags for #BM_edge_rotate */ enum { - /** Disallow to rotate when the new edge matches an existing one. */ + /** Disallow rotating when the new edge matches an existing one. */ BM_EDGEROT_CHECK_EXISTS = (1 << 0), /** Overrides existing check, if the edge already, rotate and merge them. */ BM_EDGEROT_CHECK_SPLICE = (1 << 1), /** Disallow creating bow-tie, concave or zero area faces */ BM_EDGEROT_CHECK_DEGENERATE = (1 << 2), - /** Disallow to rotate into ugly topology. */ + /** Disallow rotating into ugly topology. */ BM_EDGEROT_CHECK_BEAUTY = (1 << 3), }; |