[Bf-extensions-cvs] [7d80f2f9] master: Fix T104326: FBX Import: material link b'TransparencyFactor' ignored.
Bastien Montagne
noreply at git.blender.org
Mon Feb 6 17:04:20 CET 2023
Commit: 7d80f2f97161fc8e353a657b179b9aa1f8e5280b
Author: Bastien Montagne
Date: Mon Feb 6 17:03:37 2023 +0100
Branches: master
https://developer.blender.org/rBA7d80f2f97161fc8e353a657b179b9aa1f8e5280b
Fix T104326: FBX Import: material link b'TransparencyFactor' ignored.
===================================================================
M io_scene_fbx/__init__.py
M io_scene_fbx/import_fbx.py
===================================================================
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index ca14d7f9..cace8af6 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -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",
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 31c9e4ba..7c8f92d1 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -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:
More information about the Bf-extensions-cvs
mailing list