Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-11-27 22:40:04 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-11-27 23:17:06 +0300
commit0ebb632f698b3c0fbb7f9f95ccfdf7eb36f13ede (patch)
tree35a409838e68364d3bac104b442fb695c012ea60 /source/blender/modifiers
parent013a5c8b7742626b6c4223e7e4235ec6ecb5ab39 (diff)
Fix missing reset-to-NULL in own recent changes in modifiers utils.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_util.c1
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;
}
}