Geometry Nodes: Hide values for selection inputs
Toggling the selection off in the node is the same as muting it, so exposing it there doesn't help, and makes it less clear that it's meant to be used as a field.
This commit is contained in:
@@ -30,7 +30,7 @@ static void geo_node_material_assign_declare(NodeDeclarationBuilder &b)
|
||||
{
|
||||
b.add_input<decl::Geometry>("Geometry");
|
||||
b.add_input<decl::Material>("Material").hide_label();
|
||||
b.add_input<decl::Bool>("Selection").default_value(true);
|
||||
b.add_input<decl::Bool>("Selection").default_value(true).hide_value();
|
||||
b.add_output<decl::Geometry>("Geometry");
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ static void geo_node_set_position_declare(NodeDeclarationBuilder &b)
|
||||
{
|
||||
b.add_input<decl::Geometry>("Geometry");
|
||||
b.add_input<decl::Vector>("Position");
|
||||
b.add_input<decl::Bool>("Selection").default_value(true);
|
||||
b.add_input<decl::Bool>("Selection").default_value(true).hide_value();
|
||||
b.add_output<decl::Geometry>("Geometry");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user