diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-11 19:38:02 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-11 19:38:02 +0300 |
commit | 5f1fe265afee3aa07f75b64ce658774b6bccae22 (patch) | |
tree | 3d05cd1317fa374a229a424f72013cc6ef37179e /source | |
parent | 1b3814e33cf22b3b0fd8bec44cba8599cd05c09b (diff) |
Add back assert, reorderrefactor-mesh-hide-generic
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/modifiers/intern/MOD_decimate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_decimate.c b/source/blender/modifiers/intern/MOD_decimate.c index 3d0a518a742..55d9d148d10 100644 --- a/source/blender/modifiers/intern/MOD_decimate.c +++ b/source/blender/modifiers/intern/MOD_decimate.c @@ -201,9 +201,11 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh * updateFaceCount(ctx, dmd, bm->totface); - result = BKE_mesh_from_bmesh_for_eval_nomain(bm, NULL, mesh); /* make sure we never alloc'd these */ BLI_assert(bm->vtoolflagpool == NULL && bm->etoolflagpool == NULL && bm->ftoolflagpool == NULL); + BLI_assert(bm->vtable == NULL && bm->etable == NULL && bm->ftable == NULL); + + result = BKE_mesh_from_bmesh_for_eval_nomain(bm, NULL, mesh); BM_mesh_free(bm); |