Geometry Nodes: use true as default in Set Shade Smooth node

The node is typically only added to enable smooth shading. So this
default is much more useful.
This commit is contained in:
Jacques Lucke 2021-10-27 15:42:02 +02:00
parent 62928b618a
commit 059e5a8a4c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ static void geo_node_set_shade_smooth_declare(NodeDeclarationBuilder &b)
{
b.add_input<decl::Geometry>("Geometry").supported_type(GEO_COMPONENT_TYPE_MESH);
b.add_input<decl::Bool>("Selection").default_value(true).hide_value().supports_field();
b.add_input<decl::Bool>("Shade Smooth").supports_field();
b.add_input<decl::Bool>("Shade Smooth").supports_field().default_value(true);
b.add_output<decl::Geometry>("Geometry");
}