Fix: Incorrect info message in set material node

The node does have support for curves since c4f7f59c65.
This commit is contained in:
Hans Goudey 2022-04-19 13:20:19 -05:00
parent 5a06996722
commit d813ee55fd
1 changed files with 4 additions and 2 deletions

View File

@ -18,8 +18,10 @@ namespace blender::nodes::node_geo_set_material_cc {
static void node_declare(NodeDeclarationBuilder &b)
{
b.add_input<decl::Geometry>(N_("Geometry"))
.supported_type(
{GEO_COMPONENT_TYPE_MESH, GEO_COMPONENT_TYPE_VOLUME, GEO_COMPONENT_TYPE_POINT_CLOUD});
.supported_type({GEO_COMPONENT_TYPE_MESH,
GEO_COMPONENT_TYPE_VOLUME,
GEO_COMPONENT_TYPE_POINT_CLOUD,
GEO_COMPONENT_TYPE_CURVE});
b.add_input<decl::Bool>(N_("Selection")).default_value(true).hide_value().supports_field();
b.add_input<decl::Material>(N_("Material")).hide_label();
b.add_output<decl::Geometry>(N_("Geometry"));