Blender Git Loki
Git Commits -> Revision 0ccbf50
Revision 0ccbf50 by Johnny Matthews (master) September 2, 2021, 03:53 (GMT) |
Cleanup: Convert geometry nodes socket list to use new API The new API introduced in rB1e69a25043120c provides a shorted, more flexibly way to declare node socket inputs and outputs. This commit updates all geometry nodes to use the `NodeSocketBuilder` API, except the four nodes that need `SOCK_HIDE_VALUE` or `SOCK_MULTI_INPUT`. Differential Revisions: D12377, D12376, D12374, D12373, D12372 |
Commit Details:
Full Hash: 0ccbf5069431aaa323ca9c7f09cb62a0ea35ae86
Parent Commit: 4170668
Committed By: Hans Goudey
Lines Changed: +823, -1126
63 Modified Paths:
/source/blender/nodes/geometry/nodes/node_geo_align_rotation_to_vector.cc (+19, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_clamp.cc (+21, -25) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_color_ramp.cc (+11, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_combine_xyz.cc (+17, -21) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_compare.cc (+20, -25) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_convert.cc (+12, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_curve_map.cc (+15, -20) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_map_range.cc (+24, -29) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc (+17, -21) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_mix.cc (+19, -24) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_proximity.cc (+14, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc (+20, -24) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_sample_texture.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_separate_xyz.cc (+14, -19) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_transfer.cc (+12, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_math.cc (+20, -24) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc (+9, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_collection_info.cc (+9, -22) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_convex_hull.cc (+7, -11) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_endpoints.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_fill.cc (+9, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_length.cc (+7, -11) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_bezier_segment.cc (+15, -26) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_circle.cc (+16, -20) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_line.cc (+12, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadratic_bezier.cc (+10, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadrilateral.cc (+20, -26) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_spiral.cc (+12, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_star.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc (+12, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_select_by_handle_type.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc (+9, -14) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc (+9, -14) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_subdivide.cc (+12, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc (+13, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc (+14, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_material_assign.cc (+9, -22) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_material_replace.cc (+9, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cube.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc (+12, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_ico_sphere.cc (+8, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_line.cc (+14, -27) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc (+9, -14) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_subdivide.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_to_curve.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc (+13, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+18, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+12, -25) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_rotate.cc (+15, -19) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_scale.cc (+15, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_separate.cc (+9, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_translate.cc (+11, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+25, -25) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_select_by_material.cc (+9, -23) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_separate_components.cc (+10, -14) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc (+12, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_switch.cc (+42, -45) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc (+10, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_viewer.cc (+7, -5) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_volume_to_mesh.cc (+14, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_clamp.cc (+21, -25) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_color_ramp.cc (+11, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_combine_xyz.cc (+17, -21) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_compare.cc (+20, -25) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_convert.cc (+12, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_curve_map.cc (+15, -20) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_map_range.cc (+24, -29) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc (+17, -21) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_mix.cc (+19, -24) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_proximity.cc (+14, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc (+20, -24) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_sample_texture.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_separate_xyz.cc (+14, -19) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_transfer.cc (+12, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_math.cc (+20, -24) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc (+9, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_collection_info.cc (+9, -22) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_convex_hull.cc (+7, -11) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_endpoints.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_fill.cc (+9, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_length.cc (+7, -11) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_bezier_segment.cc (+15, -26) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_circle.cc (+16, -20) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_line.cc (+12, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadratic_bezier.cc (+10, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadrilateral.cc (+20, -26) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_spiral.cc (+12, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_star.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc (+12, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_select_by_handle_type.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc (+9, -14) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc (+9, -14) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_subdivide.cc (+12, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc (+13, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc (+14, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_material_assign.cc (+9, -22) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_material_replace.cc (+9, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cube.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc (+12, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc (+10, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_ico_sphere.cc (+8, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_line.cc (+14, -27) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc (+9, -14) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_subdivide.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_to_curve.cc (+8, -12) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc (+13, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+18, -18) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+12, -25) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_rotate.cc (+15, -19) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_scale.cc (+15, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_separate.cc (+9, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_translate.cc (+11, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+25, -25) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_select_by_material.cc (+9, -23) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_separate_components.cc (+10, -14) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc (+12, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_switch.cc (+42, -45) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc (+10, -13) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_viewer.cc (+7, -5) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_volume_to_mesh.cc (+14, -18) (Diff)