Fix T49222: Image Save settings are overridden by the File Save Screen ones.
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 2 Sep 2016 06:37:57 +0000 (08:37 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 2 Sep 2016 06:37:57 +0000 (08:37 +0200)
commit8b2a4505209343cebb7012af7dc29aa03da18536
treedd43598a1e08b690d60f11e580af54e71ac740c2
parente7ea1ae78c84904864c17248b1b22b1e6c11acc9
Fix T49222: Image Save settings are overridden by the File Save Screen ones.

There were two inconsistencies in how 'save image' op initiated its settings:
* It would always use ImBuf->planes value.
* It would always use Image views settings.

Both of those settings should come from scene->r.im_format (as everything else)
when saving render/compo result...
source/blender/editors/space_image/image_ops.c