From 525def99bc907d4768b00632a3e9f8e1eb47669c Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 15 Sep 2021 14:16:16 -0500 Subject: 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. --- source/blender/nodes/geometry/nodes/node_geo_material_assign.cc | 2 +- source/blender/nodes/geometry/nodes/node_geo_set_position.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/nodes/geometry/nodes/node_geo_material_assign.cc b/source/blender/nodes/geometry/nodes/node_geo_material_assign.cc index bdcf06fe416..43818947272 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_material_assign.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_material_assign.cc @@ -30,7 +30,7 @@ static void geo_node_material_assign_declare(NodeDeclarationBuilder &b) { b.add_input("Geometry"); b.add_input("Material").hide_label(); - b.add_input("Selection").default_value(true); + b.add_input("Selection").default_value(true).hide_value(); b.add_output("Geometry"); } diff --git a/source/blender/nodes/geometry/nodes/node_geo_set_position.cc b/source/blender/nodes/geometry/nodes/node_geo_set_position.cc index e8591616f55..4c754ddb643 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_set_position.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_set_position.cc @@ -24,7 +24,7 @@ static void geo_node_set_position_declare(NodeDeclarationBuilder &b) { b.add_input("Geometry"); b.add_input("Position"); - b.add_input("Selection").default_value(true); + b.add_input("Selection").default_value(true).hide_value(); b.add_output("Geometry"); } -- cgit v1.2.3