Blender Git Commit Log

Git Commits -> Revision 3dae0bf

July 3, 2021, 10:50 (GMT)
Type change in the group socket update function.

In group node and group input/output updates:
Instead of discarding group sockts with a type mismatch (which breaks
any link), keep the socket and update its type.
This can require a subsequent node tree link update to check for invalid
socket connections. Links should be flagged as invalid and ignored by
node systems, rather than removed outright.

Note that the nodeModifySocketType function only works with static
socket types currently and does not fully support custom socket types
(e.g. sockets defined in python). Any group interface with a custom type
will generate a generic SOCK_CUSTOM socket. This should be addressed
soon by making nodeModifySocketType work with idnames rather than
integer types.

Commit Details:

Full Hash: 3dae0bf072e636bacd2d6e1dd452a8dc20714b89
Parent Commit: f672609
Lines Changed: +8, -40

2 Modified Paths:

/source/blender/editors/space_node/node_edit.cc (+0, -39) (Diff)
/source/blender/nodes/intern/node_common.c (+8, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021