Commit: 4e85d8daeace2c29015a80a4e175e6359c4d185d
Author: Dalai Felinto
Date:   Fri Aug 1 15:02:43 2014 -0300
Branches: multiview
https://developer.blender.org/rB4e85d8daeace2c29015a80a4e175e6359c4d185d

multiview: bug when saving image

When I implement the OpenEXR changes I will revisit save_image_doit and
do a final cleanup. But for now it's working again as it should.

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

M       source/blender/editors/space_image/image_ops.c

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

diff --git a/source/blender/editors/space_image/image_ops.c 
b/source/blender/editors/space_image/image_ops.c
index ffe1683..dbc7b9f 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -1697,7 +1697,9 @@ static bool save_image_doit(bContext *C, SpaceImage 
*sima, wmOperator *op, SaveI
 
                WM_cursor_wait(0);
        }
-       ED_space_image_release_buffer(sima, ibuf, lock);
+       else {
+               ED_space_image_release_buffer(sima, ibuf, lock);
+       }
 
        return ok;
 }

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

Reply via email to