Blender Git Loki

Git Commits -> Revision 2d4c7fa

Revision 2d4c7fa by Jacques Lucke (master)
December 6, 2021, 18:13 (GMT)
Geometry Nodes: reduce code duplication with new GeometyrFieldInput

Most of our field inputs are currently specific to geometry. This patch introduces
a new `GeometryFieldInput` that reduces the overhead of adding new geometry
field input.

Differential Revision: https://developer.blender.org/D13489

Commit Details:

Full Hash: 2d4c7fa896ab4a6de163cd33746b54e67c7f8bac
Parent Commit: 2814740
Lines Changed: +272, -368

16 Modified Paths:

/source/blender/blenkernel/BKE_geometry_set.hh (+28, -15) (Diff)
/source/blender/blenkernel/intern/attribute_access.cc (+28, -37) (Diff)
/source/blender/functions/FN_field.hh (+1, -1) (Diff)
/source/blender/functions/intern/field.cc (+3, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_endpoint_selection.cc (+36, -44) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_handle_type_selection.cc (+20, -24) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_spline_parameter.cc (+30, -49) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_input_mesh_edge_vertices.cc (+16, -26) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_input_mesh_face_area.cc (+8, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_input_mesh_face_neighbors.cc (+17, -26) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_input_mesh_vertex_neighbors.cc (+16, -26) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_input_normal.cc (+18, -27) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_input_spline_length.cc (+18, -32) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_input_tangent.cc (+9, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_material_selection.cc (+23, -28) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021