Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-10-13 20:34:34 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-10-13 20:36:49 +0300
commit94a1268efa6a16b2e85b95a6ad145e3bbd63f018 (patch)
treec7fe08461b98256416c0bf4787d12c939736dc27 /io_scene_fbx/fbx_utils.py
parent3c2a3f8a60d68b131d0ec606e28f8795327651df (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.py2
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",
))