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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-10 17:25:37 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-10 17:25:37 +0400
commitb6bdb122c2a0fba356541340664ef76698db7544 (patch)
treee559d9ebdb2bcfae5016ad34af60efba6628a008 /source/blender/blenkernel/intern/scene.c
parentb5e1c48ca769bd83434d3686569fa36c50dbd9cb (diff)
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.
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r--source/blender/blenkernel/intern/scene.c2
1 files changed, 1 insertions, 1 deletions
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;