Blender Git Commit Log

Git Commits -> Revision eeb3279

Revision eeb3279 by Jacques Lucke (lineart-shadow)
December 8, 2021, 06:53 (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: eeb3279af81223f385cae54c48cfc69d586322f2
Parent Commit: 25395ae
Committed By: YimingWu
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021