diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-26 07:32:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-26 07:32:35 +0300 |
commit | 7b61fe1638051b3b2e296680a000819f31672414 (patch) | |
tree | 7b640b7fb07ac3d1663fc683c903d3b5e33bbf42 /source/blender/modifiers | |
parent | 8d03e04493023d63ec05321ab8dc48dbd22363f2 (diff) |
Cleanup: use BLI_assert
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_remesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_remesh.c b/source/blender/modifiers/intern/MOD_remesh.c index 23da1ec2754..631401d9d9e 100644 --- a/source/blender/modifiers/intern/MOD_remesh.c +++ b/source/blender/modifiers/intern/MOD_remesh.c @@ -105,7 +105,7 @@ static void dualcon_add_vert(void *output_v, const float co[3]) DualConOutput *output = output_v; Mesh *mesh = output->mesh; - assert(output->curvert < mesh->totvert); + BLI_assert(output->curvert < mesh->totvert); copy_v3_v3(mesh->mvert[output->curvert].co, co); output->curvert++; @@ -119,7 +119,7 @@ static void dualcon_add_quad(void *output_v, const int vert_indices[4]) MPoly *cur_poly; int i; - assert(output->curface < mesh->totpoly); + BLI_assert(output->curface < mesh->totpoly); mloop = mesh->mloop; cur_poly = &mesh->mpoly[output->curface]; |