Differential D16858 Diff 58932 source/blender/nodes/geometry/nodes/node_geo_mesh_face_set_boundaries.cc
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/node_geo_mesh_face_set_boundaries.cc
| Show All 12 Lines | |||||
| { | { | ||||
| b.add_input<decl::Int>(N_("Face Set")) | b.add_input<decl::Int>(N_("Face Set")) | ||||
| .default_value(0) | .default_value(0) | ||||
| .hide_value() | .hide_value() | ||||
| .supports_field() | .supports_field() | ||||
| .description(N_("An identifier for the group of each face. All contiguous faces with the " | .description(N_("An identifier for the group of each face. All contiguous faces with the " | ||||
| "same value are in the same region")); | "same value are in the same region")); | ||||
| b.add_output<decl::Bool>(N_("Boundary Edges")) | b.add_output<decl::Bool>(N_("Boundary Edges")) | ||||
| .field_source() | .field_source_reference_all() | ||||
| .description(N_("The edges that lie on the boundaries between the different face sets")); | .description(N_("The edges that lie on the boundaries between the different face sets")); | ||||
| } | } | ||||
| class BoundaryFieldInput final : public bke::MeshFieldInput { | class BoundaryFieldInput final : public bke::MeshFieldInput { | ||||
| private: | private: | ||||
| const Field<int> face_set; | const Field<int> face_set; | ||||
| public: | public: | ||||
| ▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines | |||||