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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-11 22:57:58 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-11 22:57:58 +0400
commit1b55158753b30bd1a4dcba756da4c890a5e7366b (patch)
tree4c4d27ccac7eb2e543a687203bdd121a3d6c8d70 /source/blender/makesrna/intern/rna_mesh_api.c
parente19006b8ce236b2dc300469d5ac9c95b2c7c5b5f (diff)
Fix use of uninitialized variable in new Mesh.calc_normals_split.
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_mesh_api.c2
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);