diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-18 01:35:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-18 01:36:44 +0300 |
commit | bb6765f28fdde392976c38712c851d0ef8c75a2c (patch) | |
tree | 500342ef54f60bb73b429e74355139665bff500f /source/blender/bmesh/intern | |
parent | 0c58ad8a34c55344262ac74fce87888beb464155 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/bmesh/intern')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_interp.c | 4 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_iterators.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/bmesh/intern/bmesh_interp.c b/source/blender/bmesh/intern/bmesh_interp.c index 6857a1f3929..288c5fa8158 100644 --- a/source/blender/bmesh/intern/bmesh_interp.c +++ b/source/blender/bmesh/intern/bmesh_interp.c @@ -939,7 +939,7 @@ void BM_data_layer_free(BMesh *bm, CustomData *data, int type) data->pool = NULL; has_layer = CustomData_free_layer_active(data, type, 0); - /* assert because its expensive to realloc - better not do if layer isnt present */ + /* Assert because its expensive to realloc - better not do if layer isn't present. */ BLI_assert(has_layer != false); UNUSED_VARS_NDEBUG(has_layer); @@ -961,7 +961,7 @@ void BM_data_layer_free_n(BMesh *bm, CustomData *data, int type, int n) data->pool = NULL; has_layer = CustomData_free_layer(data, type, 0, CustomData_get_layer_index_n(data, type, n)); - /* assert because its expensive to realloc - better not do if layer isnt present */ + /* Assert because its expensive to realloc - better not do if layer isn't present. */ BLI_assert(has_layer != false); UNUSED_VARS_NDEBUG(has_layer); diff --git a/source/blender/bmesh/intern/bmesh_iterators.c b/source/blender/bmesh/intern/bmesh_iterators.c index c81d4f9b67c..ff6274cff12 100644 --- a/source/blender/bmesh/intern/bmesh_iterators.c +++ b/source/blender/bmesh/intern/bmesh_iterators.c @@ -158,7 +158,7 @@ int BMO_iter_as_array(BMOpSlot slot_args[BMO_OP_MAX_SLOTS], /** * \brief Iterator as Array * - * Allocates a new array, has the advantage that you dont need to know the size ahead of time. + * Allocates a new array, has the advantage that you don't need to know the size ahead of time. * * Takes advantage of less common iterator usage to avoid counting twice, * which you might end up doing when #BM_iter_as_array is used. @@ -410,7 +410,7 @@ int BM_iter_mesh_count_flag(const char itype, BMesh *bm, const char hflag, const */ /* see bug T36923 for why we need this, - * allow adding but not removing, this isnt _totally_ safe since + * allow adding but not removing, this isn't _totally_ safe since * you could add/remove within the same loop, but catches common cases */ #ifdef DEBUG |