blender-addons/node_wrangler/utils
Damien Picard 0bfeb38c41 Fix #104470: Node Wrangler: Lazy Connect changed behaviour
There was an API change in Blender 3.5, after which connecting virtual
sockets (sockets inside groups not yet matching any output or input)
through scripts resulted in broken links. A link was created, but not
the matching group input or output.

In 81815681d0 a new API `bpy_extras.node_utils.connect_sockets()` was
introduced to handle this case by creating an input or output of the
matching type and name.

The Lazy Connect operator was in this exact situation, and replacing
`links.new()` by `connect_sockets()` fixes the issue.

Pull Request: #104542
2023-04-12 15:41:16 +02:00
..
constants.py Node Wrangler: apply autopep8 formatting 2023-03-05 12:24:24 +01:00
draw.py Node Wrangler: apply autopep8 formatting 2023-03-05 12:24:24 +01:00
nodes.py Fix #104470: Node Wrangler: Lazy Connect changed behaviour 2023-04-12 15:41:16 +02:00
paths_test.py Node Wrangler: refactor by splitting the script into several files 2023-03-05 12:05:11 +01:00
paths.py Node Wrangler: refactor by splitting the script into several files 2023-03-05 12:05:11 +01:00