diff options
author | Hans Goudey <h.goudey@me.com> | 2022-02-21 22:04:38 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-02-21 22:04:38 +0300 |
commit | 24ddb4b1ad7237f888bec19a2e576f3b2a5e9a84 (patch) | |
tree | 60c24d8b8e7e322689675496865b37ee79a104a3 /source | |
parent | 48abcc91aed521bd8b207553bde0dc8817db5c60 (diff) | |
parent | 284cef473fed06593ee9ce969c121fd2e007f6e3 (diff) |
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index 47669387fd1..2afe4dda35c 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -529,8 +529,8 @@ static void contarget_get_mesh_mat(Object *ob, const char *substring, float mat[ float vec[3] = {0.0f, 0.0f, 0.0f}; float normal[3] = {0.0f, 0.0f, 0.0f}; float weightsum = 0.0f; - const float(*vert_normals)[3] = BKE_mesh_vertex_normals_ensure(me_eval); if (me_eval) { + const float(*vert_normals)[3] = BKE_mesh_vertex_normals_ensure(me_eval); const MDeformVert *dvert = CustomData_get_layer(&me_eval->vdata, CD_MDEFORMVERT); int numVerts = me_eval->totvert; |