Lukas Tönne LukasTonne
Lukas Tönne pushed to geometry-nodes-closures at LukasTonne/blender 2023-04-15 23:16:26 +02:00
6b986c4f08 Exec function for the bind node that stores a graph reference in the output.
Lukas Tönne pushed to geometry-nodes-closures at LukasTonne/blender 2023-04-15 20:21:11 +02:00
66ce62be9c Moved the bind and evaluate nodes into the geometry category.
Lukas Tönne pushed to geometry-nodes-closures at LukasTonne/blender 2023-04-15 17:56:18 +02:00
2a4b8a3177 Implemented UI for the Evaluate node signature.
Lukas Tönne commented on pull request blender/blender#106919 2023-04-15 15:03:20 +02:00
Simulation nodes: UI for simulation state items in sidebar

"in the list"

Lukas Tönne commented on pull request blender/blender#106919 2023-04-15 15:02:53 +02:00
Simulation nodes: UI for simulation state items in sidebar

Could support a type selection enum here, with a dropdown menu invoke.

Lukas Tönne pushed to geometry-nodes-closures at LukasTonne/blender 2023-04-15 14:20:28 +02:00
2498460b63 RNA for node signatures.
Lukas Tönne pushed to geometry-nodes-closures at LukasTonne/blender 2023-04-15 10:39:59 +02:00
f2c11e0950 Improved API for signatures using some C++ support methods.
Lukas Tönne pushed to geometry-nodes-closures at LukasTonne/blender 2023-04-14 18:06:33 +02:00
61a0f26e46 stuff
4926ddd8cd Merge branch 'main' into geometry-nodes-closures
988f23cec3 Attributes: Add 2D integer vector attribute type
80f3f59555 Fix: Remove unsupported data types in extrude and split edges nodes
3f31ac2e1a Cleanup: Make deprecated custom data type handling consistent
Compare 431 commits »
Lukas Tönne commented on pull request blender/blender#106919 2023-04-14 14:18:12 +02:00
Simulation nodes: UI for simulation state items in sidebar

I wonder if we could put the list in the existing Node sidebar tab instead of adding a new one. That might be a more consistent/expected place for it. What do you think about that?

Would be…

Lukas Tönne pushed to geometry-nodes-simulation-item-ui at LukasTonne/blender 2023-04-14 13:58:16 +02:00
6e46c1a896 Cleanup: Change to NOD_geometry naming scheme.
a3450e664e Merge branch 'geometry-nodes-simulation' into geometry-nodes-simulation-item-ui
cbc5b17c1a Cleanup: Use const int cast
a76c714c26 Cleanup: Whitespace
c22fed5c01 Cleanup: Unnecessary null check
Compare 108 commits »
Lukas Tönne pushed to geometry-nodes-simulation-item-ui at LukasTonne/blender 2023-04-14 12:39:03 +02:00
b3b13f37bf Added versioning code to initialize unique identifiers for sim zones.
e920bbede4 Generate unique identifiers for simulation state items.
Compare 2 commits »
Lukas Tönne pushed to geometry-nodes-simulation-item-ui at LukasTonne/blender 2023-04-14 10:14:22 +02:00
9843e26bf3 Limit the allowed socket types in simulation items to Geometry for now.
Lukas Tönne commented on pull request blender/blender#106812 2023-04-14 08:09:43 +02:00
Support for simulation zones in copy operators

otherwise I think it would make more sense for that unification to happen first, better not to leave it like this longer term.

I'll give the copy unification #106852 a go and see if i run…

Lukas Tönne commented on pull request blender/blender#106919 2023-04-13 21:34:18 +02:00
Simulation nodes: UI for simulation state items in sidebar

Assigning nullptr to a std::string is undefined behavior. We also ensure the item.name is never empty now, but it's better not to rely on that alone and check the char * as well.

Lukas Tönne commented on pull request blender/blender#106919 2023-04-13 21:32:11 +02:00
Simulation nodes: UI for simulation state items in sidebar

This function is now also used to check for uniqueness of items that are already in the list. This check avoids detecting duplicates from the same socket.

Lukas Tönne commented on pull request blender/blender#106919 2023-04-13 21:29:58 +02:00
Simulation nodes: UI for simulation state items in sidebar

Exposing socket type colors through ED_node_type_draw_color adds another bad level call. Since the same file already has other UI functions used this way it doesn't make things any worse at least.

Lukas Tönne commented on pull request blender/blender#106919 2023-04-13 21:26:59 +02:00
Simulation nodes: UI for simulation state items in sidebar

Connecting the __extend__ socket updates both input and output node, but only because of the blanket NTREE_CHANGED_LINK handling which updates all nodes in the tree when a link is changed.

Lukas Tönne created pull request blender/blender#106919 2023-04-13 21:17:24 +02:00
Resolve #105723: UI for simulation state items in sidebar
Lukas Tönne pushed to geometry-nodes-simulation-item-ui at LukasTonne/blender 2023-04-13 21:04:44 +02:00
ee61434a2e RNA function to get the appropriate color for a socket type.
Lukas Tönne pushed to geometry-nodes-simulation-item-ui at LukasTonne/blender 2023-04-13 17:10:03 +02:00
687db84aed Fix default item names based on the socket type.