Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc
| Show All 27 Lines | |||||
| #include "node_geometry_util.hh" | #include "node_geometry_util.hh" | ||||
| using blender::fn::GVArray_For_GSpan; | using blender::fn::GVArray_For_GSpan; | ||||
| namespace blender::nodes { | namespace blender::nodes { | ||||
| static void geo_node_join_geometry_declare(NodeDeclarationBuilder &b) | static void geo_node_join_geometry_declare(NodeDeclarationBuilder &b) | ||||
| { | { | ||||
| b.add_input<decl::Geometry>("Geometry").multi_input(); | b.add_input<decl::Geometry>(N_("Geometry")).multi_input(); | ||||
| b.add_output<decl::Geometry>("Geometry"); | b.add_output<decl::Geometry>(N_("Geometry")); | ||||
| } | } | ||||
| static Mesh *join_mesh_topology_and_builtin_attributes(Span<const MeshComponent *> src_components) | static Mesh *join_mesh_topology_and_builtin_attributes(Span<const MeshComponent *> src_components) | ||||
| { | { | ||||
| int totverts = 0; | int totverts = 0; | ||||
| int totloops = 0; | int totloops = 0; | ||||
| int totedges = 0; | int totedges = 0; | ||||
| int totpolys = 0; | int totpolys = 0; | ||||
| ▲ Show 20 Lines • Show All 455 Lines • Show Last 20 Lines | |||||