Blender Git Loki
Git Commits -> Revision add2815
Revision add2815 by Lukas Toenne (node-group-single-socket-nodes) July 8, 2021, 14:53 (GMT) |
Single-socket input/output nodes in node groups. Changes the default group input/output nodes in groups to show only a single socket. This is more convenient for keeping connections short and put parameters closer to where they are used inside a group. For input nodes this is purely a UI feature: they can already be duplicated and unused sockets can be hidden (ctrl+h). The patch only makes this the default setup of input nodes by providing all inputs separately in the "Add Node" menu. For output nodes the situation requires some functional changes, because outputs have to be unique. The "virtual" extension socket on group input/output nodes is now disabled by default, since it adds a lot of visual noise without saving much work (see discussion in T68733). The feature can be enabled with a per-node flag. Todo: - [ ] Implement unique output handling across different node systems. Differential Revision: https://developer.blender.org/D11853 |
Commit Details:
Full Hash: add28157237fdd4e8174f8d2eadd200b1e7f3380
Parent Commit: a91212e
Lines Changed: +53, -6
5 Modified Paths:
/release/scripts/startup/nodeitems_builtins.py (+2, -0) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+10, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+16, -0) (Diff)
/source/blender/nodes/intern/node_common.c (+20, -6) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+10, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+16, -0) (Diff)
/source/blender/nodes/intern/node_common.c (+20, -6) (Diff)