Blender Git Loki

Git Commits -> Revision 687f994

October 28, 2020, 13:05 (GMT)
Geometry Nodes: improve api for nodes

The execute callback of a geometry node gets more domain specific
types as parameters now: GeoNodeInputs and GeoNodeOutputs.

Those types are also aware of what node is being executed and can
provide better error messages when they are used incorrectly.

Commit Details:

Full Hash: 687f9942510cb74ae7b7099a7460a5d68ff854c2
Parent Commit: 5c7767e
Lines Changed: +321, -82

2 Added Paths:

/source/blender/functions/FN_generic_value_map.hh (+113, -0) (View)
/source/blender/nodes/intern/node_geometry_exec.cc (+102, -0) (View)

14 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+4, -3) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -1) (Diff)
/source/blender/functions/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+2, -1) (Diff)
/source/blender/modifiers/intern/MOD_nodes.cc (+12, -7) (Diff)
/source/blender/modifiers/intern/MOD_nodes.h (+2, -1) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_boolean.cc (+5, -5) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_edge_split.cc (+2, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+5, -5) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+5, -5) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_transform.cc (+3, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc (+2, -2) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+61, -47) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021