diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-09-11 22:57:58 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-09-11 22:57:58 +0400 |
commit | 1b55158753b30bd1a4dcba756da4c890a5e7366b (patch) | |
tree | 4c4d27ccac7eb2e543a687203bdd121a3d6c8d70 /source | |
parent | e19006b8ce236b2dc300469d5ac9c95b2c7c5b5f (diff) |
Fix use of uninitialized variable in new Mesh.calc_normals_split.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh_api.c b/source/blender/makesrna/intern/rna_mesh_api.c index e3ef3d5f6cf..b8f9a649e2c 100644 --- a/source/blender/makesrna/intern/rna_mesh_api.c +++ b/source/blender/makesrna/intern/rna_mesh_api.c @@ -62,7 +62,7 @@ static void rna_Mesh_calc_normals_split(Mesh *mesh, float min_angle) { float (*r_loopnors)[3]; float (*polynors)[3]; - bool free_polynors; + bool free_polynors = false; if (CustomData_has_layer(&mesh->ldata, CD_NORMAL)) { r_loopnors = CustomData_get_layer(&mesh->ldata, CD_NORMAL); |