mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
The `Make Group` operator for nodes expects that sockets remain valid when removing a link to the node (to be replaced by a new external link). This is not the case for highly dynamic nodes like viewer nodes. A viewer socket is removed as soon as it is un-linked. Make the group operator more robust by checking if sockets exist and ignoring any link to group nodes when the socket disappears. Ideally the viewer node would remain connected through these operations, but that requires some detail special case for viewer behavior or some way to ensure a viewer node copy has the same sockets as the original. A regression test is also added for this case. The `bl_node_copy_operators.py` has been modified to use the `BLENDER_TEST_UPDATE` environment variable for updating the expected test data, instead of the previous `--generate` script parameter. This is consistent with other test scripts using the same mechanism. A bug in `nearest_node_grid_coord` was fixed which created `nan` node locations when running in `--background` mode due to zero UI scale. Introduced by #157834. Pull Request: https://projects.blender.org/blender/blender/pulls/160718 |
||
|---|---|---|
| .. | ||
| empty.blend | ||
| link_drag_search.blend | ||
| node_copy_operators.blend | ||
| node_group_socket_interface_compositor.blend | ||
| nodegroup25.blend | ||
| nodegroup36.blend | ||
| socket_usage_inference.blend | ||
| structure_type_inference.blend | ||