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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-12-25 13:45:22 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2014-12-25 13:45:22 +0300
commit7bb29c55287468dde964ac16c4b47ffad498e974 (patch)
treec9e41317a58d8267ca0afefa6d46e82d2c1cae1d /source/blender/makesrna/intern/rna_image_api.c
parent9e57babd8d946317feb5dbd7601ae01bb68d3130 (diff)
Fix T42938: image.save_render sometimes saved the wrong pass
Stupid mistake with non0initialized image user. Safe for final 2.73 release branch.
Diffstat (limited to 'source/blender/makesrna/intern/rna_image_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_image_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c
index d9a59c4dc55..90f90ea8632 100644
--- a/source/blender/makesrna/intern/rna_image_api.c
+++ b/source/blender/makesrna/intern/rna_image_api.c
@@ -74,7 +74,7 @@ static void rna_Image_save_render(Image *image, bContext *C, ReportList *reports
}
if (scene) {
- ImageUser iuser;
+ ImageUser iuser = {0};
void *lock;
iuser.scene = scene;