Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-10-14 23:36:24 +0300
committerHans Goudey <h.goudey@me.com>2021-10-14 23:36:24 +0300
commit2055ef107a7cb4e5aeeffb5ccc8a2908a59cd7d0 (patch)
treeee8dcc3b159754b1b11aefa498686a103e041430 /source/blender/nodes/geometry/nodes/node_geo_set_material_index.cc
parent89c7c115cebb2ac0aaaeb98eb95decc7b5a129c8 (diff)
Geometry Nodes: Order selection inputs after geometry inputs
While there may be arguments for different positions of the selection inputs, it's important to be consistent, and putting them right after the corresponding geometry works well when there are multiple geometry inputs. Addresses T91646.
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_set_material_index.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_set_material_index.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_set_material_index.cc b/source/blender/nodes/geometry/nodes/node_geo_set_material_index.cc
index 66ca0d5b979..a25fe332916 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_set_material_index.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_set_material_index.cc
@@ -21,8 +21,8 @@ namespace blender::nodes {
static void geo_node_set_material_index_declare(NodeDeclarationBuilder &b)
{
b.add_input<decl::Geometry>("Geometry");
- b.add_input<decl::Int>("Material Index").supports_field().min(0);
b.add_input<decl::Bool>("Selection").default_value(true).hide_value().supports_field();
+ b.add_input<decl::Int>("Material Index").supports_field().min(0);
b.add_output<decl::Geometry>("Geometry");
}