Lukas Tönne LukasTonne
Lukas Tönne commented on issue blender/blender#109135 2023-06-27 15:54:42 +02:00
New data structures for node group interface declaration

I've settled on using a single flat array of items for the node group interface. Items can be sockets or panels. Sockets in turn have specialized subclasses for each data type (like bNodeSocket…

Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-27 12:47:04 +02:00
d161f0b9ac Moved the parent_set function so the interface update can be called.
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-27 12:33:31 +02:00
ee14788641 Update active index after operators by setting item directly.
f60ed27601 Expose read-only item index.
Compare 2 commits »
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-27 12:22:32 +02:00
ac3920bd59 Added ranges for root and child items for efficient lookup.
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-27 11:36:18 +02:00
cccf086683 Implemented a stable topological sorting method for node tree items.
Lukas Tönne pushed to geometry-nodes-flip at LukasTonne/blender 2023-06-27 09:54:21 +02:00
419e90c175 Solving template errors.
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-26 16:56:27 +02:00
18a731b887 Unlink method to clear dangling pointers when a panel is removed.
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-26 16:31:11 +02:00
e2ad218816 Choose a sensible default for socket data types.
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-26 15:37:04 +02:00
aa2e182791 Merge branch 'node-group-interface' into node-group-interface-ui
7f7c4cbd0e Renamed socket type to data_type.
7dbe570df6 Added read/write code for node tree interfaces.
141fdb0388 Add break statements in switch to prevent fall-through.
b518d9d305 Cleanup: renamed files to "node_tree_interface" for consistency.
Compare 5 commits »
Lukas Tönne pushed to node-group-interface at LukasTonne/blender 2023-06-26 15:33:17 +02:00
7f7c4cbd0e Renamed socket type to data_type.
7dbe570df6 Added read/write code for node tree interfaces.
141fdb0388 Add break statements in switch to prevent fall-through.
b518d9d305 Cleanup: renamed files to "node_tree_interface" for consistency.
Compare 4 commits »
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-26 14:57:52 +02:00
eea814b20a Added copy and free functions for the interface and items.
Lukas Tönne commented on pull request blender/blender#108947 2023-06-26 14:48:25 +02:00
Geometry Nodes: Node group operators initial phase

Does that help explain things? You mentioned "Mesh" but the mesh object type isn't supported in the UI in this first commit.

Are you in curves sculpt mode? Did you restart Blender?

I…

Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-26 13:04:26 +02:00
0119871a38 Added read/write code for node tree interfaces.
40eeae2a77 Cleanup: renamed files to "node_tree_interface" for consistency.
Compare 2 commits »
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-26 12:01:58 +02:00
09b31e1568 Define data_type in the socket "new" operator as an enum.
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-26 11:13:46 +02:00
9bedd75786 Employ the copy operator next to the "new" operator.
Lukas Tönne commented on pull request blender/blender#108947 2023-06-26 11:02:44 +02:00
Geometry Nodes: Node group operators initial phase

I couldn't get my node group to show up in the "Mesh" or "Curve" menu.

  • Set the GN editor to "Operator" mode
  • Marked node group as asset
  • Added "Operator" tag in the asset browser

More…

Lukas Tönne pushed to geometry-nodes-flip at LukasTonne/blender 2023-06-24 13:28:07 +02:00
c9e6399fe1 Realtime Compositor: Implement Keying node
ec428c3f7f CMake: sort file lists, add missing header
baa8450fbf License headers: add SPDX-FileCopyrightText
b810fd75a4 Cleanup: use _exec suffix for operator callbacks
b9bf639ba4 BLI_string: remove BLI_strcpy_rlen
Compare 1559 commits »
Lukas Tönne pushed to node-group-interface-ui at LukasTonne/blender 2023-06-23 17:55:29 +02:00
12ceafae68 Added a copy operator for creating new interface items.
Lukas Tönne commented on pull request blender/blender#109288 2023-06-23 17:39:38 +02:00
Simplified base color for socket types

I was thinking of how base_cpp_type and geometry_nodes_cpp_type works. It's implied that the complex type/color is a variation of the base type/color, even though they can be totally…