From b6bdb122c2a0fba356541340664ef76698db7544 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 10 Sep 2013 13:25:37 +0000 Subject: startup.blend: save images as RGBA by default, to avoid losing data when forgetting to change it from RGB when painting images or saving renders. This makes more sense in the new alpha pipeline, renders no longer contain an alpha channel that does not match the RGB channels, so saving files as RGBA should give the expected results when opening them in other applications. --- source/blender/blenkernel/intern/scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/scene.c') diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 5829ff4995e..b89cb6b7b82 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -430,7 +430,7 @@ Scene *BKE_scene_add(Main *bmain, const char *name) sce->r.filtertype = R_FILTER_MITCH; sce->r.size = 50; - sce->r.im_format.planes = R_IMF_PLANES_RGB; + sce->r.im_format.planes = R_IMF_PLANES_RGBA; sce->r.im_format.imtype = R_IMF_IMTYPE_PNG; sce->r.im_format.depth = R_IMF_CHAN_DEPTH_8; sce->r.im_format.quality = 90; -- cgit v1.2.3