Fix #146679: Node wrangler connects bump maps to filter width

This commit fixes a issue where the node wrangler addon would connect
bump mapping textures to the filter width input of the bump node,
instead of the height input.

Pull Request: https://projects.blender.org/blender/blender/pulls/146684
This commit is contained in:
Alaska
2025-09-29 16:18:15 +02:00
committed by Jacques Lucke
parent cfeacef394
commit 6c56289f43

View File

@@ -1497,7 +1497,7 @@ class NWAddPrincipledSetup(Operator, NWBase, ImportHelper):
# Add bump node
bump_node = nodes.new(type='ShaderNodeBump')
link = connect_sockets(bump_node.inputs[2], bump_node_texture.outputs[0])
link = connect_sockets(bump_node.inputs[3], bump_node_texture.outputs[0])
link = connect_sockets(active_node.inputs['Normal'], bump_node.outputs[0])
continue