Blender Git Commit Log

Git Commits -> Revision ae82410

Revision ae82410 by Bastien Montagne (master)
December 29, 2020, 15:38 (GMT)
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).

Commit Details:

Full Hash: ae8241032959c7bc225dfaef3b75f44b1f65577b
Parent Commit: e22a36e
Lines Changed: +9, -0

1 Modified Path:

/release/scripts/modules/bpy_extras/node_shader_utils.py (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021