diff options
author | Bastien Montagne <bastien@blender.org> | 2020-12-29 18:38:40 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-12-29 18:38:40 +0300 |
commit | ae8241032959c7bc225dfaef3b75f44b1f65577b (patch) | |
tree | 36cca9e7be808bd7e47680b9c660461816b62b28 /source/blender/editors/sculpt_paint/sculpt.c | |
parent | e22a36e80a1e2723e8d9f2b9a39b5d61d6b4b6ec (diff) |
Fix T83749: Better handling of alpha in generic Nodes material wrapper for IO add-ons.
Try to detect if a given image may have valid alpha data or not (based
on number of channels and depth). This may be a bit doggy in theory, but
in practice it should cover most fields as expected. We can always
adjust the euristic here in other wrong cases appear.
This will affect all import add-ons using that node shader wrapper (at
least OBJ and FBX ones).
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
0 files changed, 0 insertions, 0 deletions