Merge branch 'blender-v2.82-release'

This commit is contained in:
Julien Duroure 2020-01-29 21:31:59 +01:00
commit 8696cf4047
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@
bl_info = {
'name': 'glTF 2.0 format',
'author': 'Julien Duroure, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
"version": (1, 2, 10),
"version": (1, 2, 11),
'blender': (2, 81, 6),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',

View File

@ -160,6 +160,8 @@ def __get_image_data(sockets_or_slots, export_settings) -> ExportImage:
'G': Channel.G,
'B': Channel.B,
}[elem.from_socket.name]
if elem.from_socket.name == 'Alpha':
src_chan = Channel.A
dst_chan = None