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:
-rwxr-xr-xio_scene_gltf2/blender/imp/gltf2_blender_map_normal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_map_normal.py b/io_scene_gltf2/blender/imp/gltf2_blender_map_normal.py
index 6631ad0b..ebaea448 100755
--- a/io_scene_gltf2/blender/imp/gltf2_blender_map_normal.py
+++ b/io_scene_gltf2/blender/imp/gltf2_blender_map_normal.py
@@ -89,9 +89,9 @@ class BlenderNormalMap():
node_tree.links.new(text.inputs[0], mapping.outputs[0])
node_tree.links.new(normalmap_node.inputs[1], text.outputs[0])
- # following links will modify PBR node tree
+ # following links will modify PBR node tree
if principled:
- node_tree.links.new(principled.inputs[17], normalmap_node.outputs[0])
+ node_tree.links.new(principled.inputs[19], normalmap_node.outputs[0])
if diffuse:
node_tree.links.new(diffuse.inputs[2], normalmap_node.outputs[0])
if glossy: