[Bf-blender-cvs] [c272017] master: Fix T46524: Use Alpha (Straight/Premultiply) option missing in 2.76, part II.

Bastien Montagne noreply at git.blender.org
Wed Oct 21 20:07:52 CEST 2015


Commit: c272017868bfac6ece18998ab8a4c38aeb487ef8
Author: Bastien Montagne
Date:   Wed Oct 21 20:06:49 2015 +0200
Branches: master
https://developer.blender.org/rBc272017868bfac6ece18998ab8a4c38aeb487ef8

Fix T46524: Use Alpha (Straight/Premultiply) option missing in 2.76, part II.

Different issue actually, here RAWTGA was simply forgotten in the alpha-capable formats...

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

M	source/blender/blenkernel/intern/image.c

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

diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 3ffd03d..be7c617 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -1356,6 +1356,7 @@ char BKE_imtype_valid_channels(const char imtype, bool write_file)
 			if (write_file) break;
 			/* fall-through */
 		case R_IMF_IMTYPE_TARGA:
+		case R_IMF_IMTYPE_RAWTGA:
 		case R_IMF_IMTYPE_IRIS:
 		case R_IMF_IMTYPE_PNG:
 		case R_IMF_IMTYPE_RADHDR:




More information about the Bf-blender-cvs mailing list