Fix T104326: FBX Import: material link b'TransparencyFactor' ignored.
This commit is contained in:
parent
48320b2d9f
commit
7d80f2f971
Notes:
blender-bot
2023-02-14 18:09:29 +01:00
Referenced by issue #104326, FBX Import: material link b'TransparencyFactor' ignored
|
@ -3,7 +3,7 @@
|
|||
bl_info = {
|
||||
"name": "FBX format",
|
||||
"author": "Campbell Barton, Bastien Montagne, Jens Restemeier",
|
||||
"version": (4, 37, 4),
|
||||
"version": (4, 37, 5),
|
||||
"blender": (3, 4, 0),
|
||||
"location": "File > Import-Export",
|
||||
"description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions",
|
||||
|
|
|
@ -3154,7 +3154,7 @@ def load(operator, context, filepath="",
|
|||
# Intensity actually, not color...
|
||||
ma_wrap.metallic_texture.image = image
|
||||
texture_mapping_set(fbx_lnk, ma_wrap.metallic_texture)
|
||||
elif lnk_type in {b'TransparentColor', b'TransparentFactor'}:
|
||||
elif lnk_type in {b'TransparentColor', b'TransparencyFactor'}:
|
||||
ma_wrap.alpha_texture.image = image
|
||||
texture_mapping_set(fbx_lnk, ma_wrap.alpha_texture)
|
||||
if use_alpha_decals:
|
||||
|
|
Loading…
Reference in New Issue