Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/node_geo_select_by_material.cc
| Show All 22 Lines | |||||
| #include "DNA_meshdata_types.h" | #include "DNA_meshdata_types.h" | ||||
| #include "BLI_task.hh" | #include "BLI_task.hh" | ||||
| #include "BKE_material.h" | #include "BKE_material.h" | ||||
| static bNodeSocketTemplate geo_node_select_by_material_in[] = { | static bNodeSocketTemplate geo_node_select_by_material_in[] = { | ||||
| {SOCK_GEOMETRY, N_("Geometry")}, | {SOCK_GEOMETRY, N_("Geometry")}, | ||||
| {SOCK_MATERIAL, N_("Material")}, | {SOCK_MATERIAL, | ||||
| N_("Material"), | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| PROP_NONE, | |||||
| SOCK_HIDE_LABEL}, | |||||
| {SOCK_STRING, N_("Selection")}, | {SOCK_STRING, N_("Selection")}, | ||||
| {-1, ""}, | {-1, ""}, | ||||
| }; | }; | ||||
| static bNodeSocketTemplate geo_node_select_by_material_out[] = { | static bNodeSocketTemplate geo_node_select_by_material_out[] = { | ||||
| {SOCK_GEOMETRY, N_("Geometry")}, | {SOCK_GEOMETRY, N_("Geometry")}, | ||||
| {-1, ""}, | {-1, ""}, | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines | |||||