diff options
author | Jacques Lucke <jacques@blender.org> | 2021-09-15 17:09:00 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-09-15 17:09:00 +0300 |
commit | 46fff97604ae167473ecd4c0cd9108dc20ba22e3 (patch) | |
tree | fe814c66a0525f76d403719ace3fe56c2a39ed73 /source/blender/blenkernel/intern/geometry_component_mesh.cc | |
parent | 5c6cc931b2203d97aa9d570ff3b353c2a3dfebed (diff) |
Nodes: refactor socket declarations
This commits adds a few common flags to `SocketDeclaration`
so that they are available for all socket types (hide label, hide
value, is multi input). This allows porting over the remaining
geometry nodes to the new declaration system.
Furthermore, this commit separates the concepts of the socket
declaration and corresponding builders. The builders are used
by nodes to declare which sockets they have (e.g. `FloatBuilder`).
The ready build socket declarations can then be consumed by
other systems such as the versioning code. Both use cases
need different APIs and those will change for independent reasons,
so it makes sense to separate the classes.
Diffstat (limited to 'source/blender/blenkernel/intern/geometry_component_mesh.cc')
0 files changed, 0 insertions, 0 deletions