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:
authorDalai Felinto <dfelinto@gmail.com>2014-08-28 14:14:14 +0400
committerDalai Felinto <dfelinto@gmail.com>2014-08-28 14:14:24 +0400
commit079689107ad0a3c637166cf92afe30ab85c8af49 (patch)
tree1e3d8d61d5c41f7c912693a1585b29849ef0f0b4 /source/blender/editors/object/object_bake_api.c
parent3a200d66ae8c8b89aad83009bf6edcc6c1a92263 (diff)
Bake-API: silencing warnings (and fixing a potential memory-access crash)
Diffstat (limited to 'source/blender/editors/object/object_bake_api.c')
-rw-r--r--source/blender/editors/object/object_bake_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c
index 5853bb04182..fd4db4f54af 100644
--- a/source/blender/editors/object/object_bake_api.c
+++ b/source/blender/editors/object/object_bake_api.c
@@ -561,7 +561,7 @@ static int bake(
int tot_highpoly;
char restrict_flag_low = ob_low->restrictflag;
- char restrict_flag_cage;
+ char restrict_flag_cage = 0;
Mesh *me_low = NULL;
Mesh *me_cage = NULL;