Blender Git Commit Log
Git Commits -> Revision 42ca1c8
Revision 42ca1c8 by Brecht Van Lommel (master) March 4, 2013, 13:18 (GMT) |
Fix for image transparency backwards compatibility. Now the texture datablock has a Use Alpha option again. This makes the case where you enabled Premultiply on the image and disabled Use Alpha on the texture work again. That's mostly useful when you have a straight alpha image file which has no useful RGB colors in zero alpha regions (e.g. renders). Then sometimes you don't want to use the alpha for the texture stack mixing, but you still want to multiply it into the RGB channels to avoid a blocky transition into zero alpha regions. This also removes the version patch that copied image datablocks because it's not reliable and might be causing bug #34434. This does mean we are no longer backwards compatible for cases where two different texture datablocks with Use Alpha enabled and disabled where using the same image. |
Commit Details:
Full Hash: 42ca1c8dcd8d148124b9d5fcf262887cac9909c1
SVN Revision: 55022
Parent Commit: 7a1086d
Lines Changed: +27, -60
8 Modified Paths:
/release/scripts/startup/bl_ui/properties_texture.py (+3, -0) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/texture.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+12, -53) (Diff)
/source/blender/gpu/intern/gpu_material.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+5, -0) (Diff)
/source/blender/render/intern/source/imagetexture.c (+3, -3) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/texture.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+12, -53) (Diff)
/source/blender/gpu/intern/gpu_material.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+5, -0) (Diff)
/source/blender/render/intern/source/imagetexture.c (+3, -3) (Diff)