Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-12-14 19:56:12 +0300
committerHans Goudey <h.goudey@me.com>2021-12-14 19:56:12 +0300
commitfdd41ac49ee411d0fe4b49d8db8a0b2eb6d20da9 (patch)
tree7378d2dfbf54e96497ad83f3e7eb310937fdcf48 /source/blender/makesdna
parentf5ce243a56a22d71830c8c131d736737613aaaa4 (diff)
Cleanup: Simplify node group input and output socket verification
This commit refactors the way the socket lists for group nodes, and group input/output nodes are verified to match the group's interface. Previously the `bNodeSocket.new_sock` pointer was used to temporarily mark the new sockets. This made the code confusing and more complicated than necessary. Now the old socket list is saved, and sockets are moved directly from the old list to a new list if they match, or a new socket is created directly in the new list. This change is split from D13518, which aims to remove the `new_node` and `new_sock` pointers. In the future this code might be removed entirely in favor of using node socket declarations. Differential Revision: https://developer.blender.org/D13543
Diffstat (limited to 'source/blender/makesdna')
0 files changed, 0 insertions, 0 deletions