Fix missing reset-to-NULL in own recent changes in modifiers utils.

This commit is contained in:
2018-11-27 20:40:04 +01:00
parent 013a5c8b77
commit 0ebb632f69

View File

@@ -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;
}
}