Nodes: Support for input/output sockets in same vertical space #112250

Merged
Lukas Tönne merged 25 commits from LukasTonne/blender:node-inline-sockets into main 2023-09-14 16:08:11 +02:00

25 Commits

Author SHA1 Message Date
Lukas Tönne 1b534032ec Merge branch 'main' into node-inline-sockets
buildbot/vexp-code-patch-coordinator Build done. Details
2023-09-14 15:50:18 +02:00
Lukas Tönne d447783223 Merge branch 'main' into node-inline-sockets 2023-09-14 15:50:00 +02:00
Lukas Tönne 25df1d69f3 Construct a flat vector of item pointers instead of using an iterator.
buildbot/vexp-code-patch-coordinator Build done. Details
2023-09-13 12:52:10 +02:00
Lukas Tönne 8c71238c29 Use span iterators instead of raw pointers for node socket iterator. 2023-09-13 11:07:30 +02:00
Lukas Tönne 4331d1bc30 class instead of struct for iterator with private variables. 2023-09-13 10:53:18 +02:00
Lukas Tönne fc50353d9d Extended comment to explain the purpose of `NodeInterfaceSocketData`. 2023-09-13 10:52:29 +02:00
Lukas Tönne 1190daa93a Deduplicate context pointer code. 2023-09-13 10:46:02 +02:00
Lukas Tönne efeccf92d5 Fix node declarations: misplaced bracket excluded all socket relations. 2023-09-13 10:29:58 +02:00
Lukas Tönne 6a79c1cc1c Merge branch 'main' into node-inline-sockets 2023-09-12 15:52:43 +02:00
Lukas Tönne 1df67c126d Comment explaining the two index values in BaseSocketDeclarationBuilder. 2023-09-12 14:58:15 +02:00
Lukas Tönne d7f4f8a5a2 Comments explaining what the bool operator for socket data means. 2023-09-12 14:56:15 +02:00
Lukas Tönne 6ba0985343 Skip inline sockets when deciding on placement of node options. 2023-09-12 14:43:14 +02:00
Lukas Tönne 1e89de8188 Merge branch 'main' into node-inline-sockets 2023-09-12 14:27:52 +02:00
Lukas Tönne 9cefb4cb06 Mark inlined sockets when generating node group declarations. 2023-09-12 13:53:15 +02:00
Lukas Tönne e2313abf3a Set the `inline_with_next` flag for pass-through socket pairs. 2023-09-12 13:36:47 +02:00
Lukas Tönne c87dff1ea8 Set the `inline_with_next` flag for pass-through socket pairs. 2023-09-12 12:11:38 +02:00
Lukas Tönne 35c3ce6a95 Can't move value since its used twice. 2023-09-12 12:03:13 +02:00
Lukas Tönne e6c8bec94d Cleanup: remove underscores from public variables. 2023-09-12 12:01:06 +02:00
Lukas Tönne ac264eb55e Comments for interface panel draw data. 2023-09-12 11:35:23 +02:00
Lukas Tönne 8c9a99ddaf Merge branch 'main' into node-inline-sockets 2023-09-12 10:47:56 +02:00
Lukas Tönne f9b4893192 API method to support inline sockets that are both input and output. 2023-09-11 19:02:09 +02:00
Lukas Tönne 20252852ae Store two socket declarations per builder to allow for dual sockets. 2023-09-11 18:49:07 +02:00
Lukas Tönne 0fb30a3e7b Unified list of socket decl builders.
This is to allow 1 builder to generate 2 sockets/decls.
2023-09-11 17:50:44 +02:00
Lukas Tönne 3f3f7afbec Merge branch 'main' into node-inline-sockets 2023-09-11 16:50:21 +02:00
Lukas Tönne b012955375 Support for 'inlined' sockets with input and output on the same line. 2023-09-08 17:18:35 +02:00