Blender Git Commit Log
Git Commits -> Revision 0bfae1b
Revision 0bfae1b by Jacques Lucke (master) October 26, 2021, 18:00 (GMT) |
Geometry Nodes: geometry component type warning system Previously, every node had to create warnings for unsupported input geometry manually. Now this is automated. Nodes just have to specify the geometry types they support in the node declaration. Differential Revision: https://developer.blender.org/D12899 |
Commit Details:
Full Hash: 0bfae1b12078ef278a56c6e932c13be5bc9781aa
Parent Commit: be3e09e
Lines Changed: +269, -120
1 Added Path:
/source/blender/nodes/NOD_socket_declarations_geometry.hh (+58, -0) (View)
49 Modified Paths:
/source/blender/blenkernel/BKE_geometry_set.hh (+2, -0) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+34, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_boolean.cc (+4, -7) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_fill.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_fillet.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_length.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc (+2, -7) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_subdivide.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc (+4, -19) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_distribute_points_on_faces.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_edge_split.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_instances_to_points.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_material_replace.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_subdivide.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_to_curve.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_to_points.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_points_to_vertices.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_proximity.cc (+2, -7) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+3, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_rotate_instances.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_scale_instances.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_curve_handles.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_curve_radius.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_curve_tilt.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_material.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_material_index.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_point_radius.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_shade_smooth.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_spline_cyclic.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_spline_resolution.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_transfer_attribute.cc (+5, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_translate_instances.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_volume_to_mesh.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/node_geometry_util.hh (+1, -0) (Diff)
/source/blender/nodes/intern/extern_implementations.cc (+1, -0) (Diff)
/source/blender/nodes/intern/node_geometry_exec.cc (+65, -0) (Diff)
/source/blender/nodes/intern/node_socket_declarations.cc (+41, -0) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+12, -2) (Diff)
/source/blender/nodes/NOD_socket_declarations.hh (+0, -10) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+34, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_boolean.cc (+4, -7) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_fill.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_fillet.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_length.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc (+2, -7) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_subdivide.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc (+4, -19) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_distribute_points_on_faces.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_edge_split.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_instances_to_points.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_material_replace.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_subdivide.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_to_curve.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_to_points.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_points_to_vertices.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_proximity.cc (+2, -7) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+3, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_rotate_instances.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_scale_instances.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_curve_handles.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_curve_radius.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_curve_tilt.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_material.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_material_index.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_point_radius.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_shade_smooth.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_spline_cyclic.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_set_spline_resolution.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_transfer_attribute.cc (+5, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_translate_instances.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_volume_to_mesh.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/node_geometry_util.hh (+1, -0) (Diff)
/source/blender/nodes/intern/extern_implementations.cc (+1, -0) (Diff)
/source/blender/nodes/intern/node_geometry_exec.cc (+65, -0) (Diff)
/source/blender/nodes/intern/node_socket_declarations.cc (+41, -0) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+12, -2) (Diff)
/source/blender/nodes/NOD_socket_declarations.hh (+0, -10) (Diff)