diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-16 17:54:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-16 17:57:05 +0300 |
commit | 27907408136cd3339beac5ea98318830ff837ab6 (patch) | |
tree | c2227cef3b363391544dce1370f6a7c21be464fa /source/blender/bmesh/tools | |
parent | 05edcf632950a81adb4a165340e01c5c92f1c578 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/bmesh/tools')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_decimate_collapse.c | 6 | ||||
-rw-r--r-- | source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c | 2 | ||||
-rw-r--r-- | source/blender/bmesh/tools/bmesh_region_match.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/bmesh/tools/bmesh_decimate_collapse.c b/source/blender/bmesh/tools/bmesh_decimate_collapse.c index e32a9334343..198b4c8e76b 100644 --- a/source/blender/bmesh/tools/bmesh_decimate_collapse.c +++ b/source/blender/bmesh/tools/bmesh_decimate_collapse.c @@ -363,7 +363,7 @@ static void bm_decim_build_edge_cost(BMesh *bm, struct KD_Symmetry_Data { /* pre-flipped coords */ float e_v1_co[3], e_v2_co[3]; - /* Use to compare the correct endpoints incase v1/v2 are swapped */ + /* Use to compare the correct endpoints in case v1/v2 are swapped. */ float e_dir[3]; int e_found_index; @@ -1371,8 +1371,8 @@ void BM_mesh_decimate_collapse(BMesh *bm, /* handy to detect corruptions elsewhere */ BLI_assert(BM_elem_index_get(e) < tot_edge_orig); - /* under normal conditions wont be accessed again, - * but NULL just incase so we don't use freed node */ + /* Under normal conditions wont be accessed again, + * but NULL just in case so we don't use freed node. */ eheap_table[BM_elem_index_get(e)] = NULL; bm_decim_edge_collapse(bm, diff --git a/source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c b/source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c index 27b4fa15f26..2cc86a7c93f 100644 --- a/source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c +++ b/source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c @@ -231,7 +231,7 @@ void BM_mesh_decimate_unsubdivide_ex(BMesh *bm, const int iterations, const bool if (BMO_vert_flag_test(bm, v, ELE_VERT_TAG)) #endif { - /* check again incase the topology changed */ + /* Check again in case the topology changed. */ if (bm_vert_dissolve_fan_test(v)) { v_first = v; } diff --git a/source/blender/bmesh/tools/bmesh_region_match.c b/source/blender/bmesh/tools/bmesh_region_match.c index 943f7532960..c30992fa296 100644 --- a/source/blender/bmesh/tools/bmesh_region_match.c +++ b/source/blender/bmesh/tools/bmesh_region_match.c @@ -1099,7 +1099,7 @@ static BMEdge *bm_face_region_pivot_edge_find(BMFace **faces_region, } } else { - /* use incase (depth == 0), no interior verts */ + /* Use in case (depth == 0), no interior verts. */ e_pivot_fallback = e; } } while ((l_iter = l_iter->next) != l_first); |