diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2018-12-15 08:56:03 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2018-12-15 08:56:03 +0300 |
commit | d31e18010473151e9f51afd5b5b9e425c46c038f (patch) | |
tree | dc4e81712cf2d972a553b1a68981da08949aa1d3 | |
parent | 6d933c0e3ac8048e8a04f2b42bcd21a667818c2e (diff) |
glTF importer: Fix bad socket used in node tree for vertex color
-rwxr-xr-x | io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_pbrSpecularGlossiness.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_pbrSpecularGlossiness.py b/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_pbrSpecularGlossiness.py index 5fd9d1a2..1854f45d 100755 --- a/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_pbrSpecularGlossiness.py +++ b/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_pbrSpecularGlossiness.py @@ -65,7 +65,7 @@ class BlenderKHR_materials_pbrSpecularGlossiness(): attribute_node.location = -500, 0 # links - node_tree.links.new(diffuse.inputs[0], attribute_node.outputs[1]) + node_tree.links.new(diffuse.inputs[0], attribute_node.outputs[0]) elif pbrSG['diffuse_type'] == gltf.TEXTURE_FACTOR: |