diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-11-27 22:40:04 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-11-27 23:17:06 +0300 |
commit | 0ebb632f698b3c0fbb7f9f95ccfdf7eb36f13ede (patch) | |
tree | 35a409838e68364d3bac104b442fb695c012ea60 /source/blender/modifiers/intern/MOD_util.c | |
parent | 013a5c8b7742626b6c4223e7e4235ec6ecb5ab39 (diff) |
Fix missing reset-to-NULL in own recent changes in modifiers utils.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_util.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_util.c b/source/blender/modifiers/intern/MOD_util.c index a8bb5210aad..3210105f710 100644 --- a/source/blender/modifiers/intern/MOD_util.c +++ b/source/blender/modifiers/intern/MOD_util.c @@ -213,6 +213,7 @@ Mesh *MOD_deform_mesh_eval_get( * (texts e.g. tend to give issues, also when deforming curve points instead of generated curve geometry... ). */ if (mesh != NULL && mesh->totvert != num_verts) { BKE_id_free(NULL, mesh); + mesh = NULL; } } |