[Bf-blender-cvs] [7d070f9] blender-v2.76-release: Fix T46524: Use Alpha (Straight/Premultiply) option missing in 2.76, part II.

Bastien Montagne noreply at git.blender.org
Thu Oct 29 12:07:34 CET 2015


Commit: 7d070f97ad8849de052919fdd75a020d1edb6cfc
Author: Bastien Montagne
Date:   Wed Oct 21 20:06:49 2015 +0200
Branches: blender-v2.76-release
https://developer.blender.org/rB7d070f97ad8849de052919fdd75a020d1edb6cfc

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 0c5941f..3aa2ba8 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -1363,6 +1363,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