diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-10-13 20:34:34 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-10-13 20:36:49 +0300 |
commit | 94a1268efa6a16b2e85b95a6ad145e3bbd63f018 (patch) | |
tree | c7fe08461b98256416c0bf4787d12c939736dc27 /io_scene_fbx/fbx_utils.py | |
parent | 3c2a3f8a60d68b131d0ec606e28f8795327651df (diff) |
FBX Import: add back basic material import.
Using new ShaderWrapper from nodes_shader_utils.
Note that porting is not exact same as in 2.7x (which was using
cycles_shader_compat wrapper). New one does not support as many
features, and not in the same exact way (since it's based on Principled
BSDF), but goal here is to have soon a matching nodal material support
in the exporter...
Diffstat (limited to 'io_scene_fbx/fbx_utils.py')
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py index ecb6ee28..8c738089 100644 --- a/io_scene_fbx/fbx_utils.py +++ b/io_scene_fbx/fbx_utils.py @@ -1245,7 +1245,7 @@ FBXImportSettings = namedtuple("FBXImportSettings", ( "use_alpha_decals", "decal_offset", "use_anim", "anim_offset", "use_custom_props", "use_custom_props_enum_as_string", - "cycles_material_wrap_map", "image_cache", + "nodal_material_wrap_map", "image_cache", "ignore_leaf_bones", "force_connect_children", "automatic_bone_orientation", "bone_correction_matrix", "use_prepost_rot", )) |