Commit: 31862bc562874a674ae2d7525cbda4af20199ca5
Author: Sergey Sharybin
Date:   Thu Dec 25 15:45:22 2014 +0500
Branches: blender-v2.73-release
https://developer.blender.org/rB31862bc562874a674ae2d7525cbda4af20199ca5

Fix T42938: image.save_render sometimes saved the wrong pass

Stupid mistake with non0initialized image user.

Safe for final 2.73 release branch.

===================================================================

M       source/blender/makesrna/intern/rna_image_api.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_image_api.c 
b/source/blender/makesrna/intern/rna_image_api.c
index d9a59c4..90f90ea 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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to