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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user