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>2022-10-04 00:27:09 +0300
committerHans Goudey <h.goudey@me.com>2022-10-04 00:27:09 +0300
commit248def7e480666682c80a2e778a5f0cf39a3a2a1 (patch)
tree5a45a018333a419dc0db324d3daf4b04d5d820c0 /source/blender/nodes/geometry/nodes/node_geo_mesh_topology_edges_of_vertex.cc
parent748fda32ede88887e1baeccca5c119326e031dd6 (diff)
Geometry Nodes: Change order of outputs in topology nodes
It's a bit more natural if the "Total" output come second, and it's also consistent with the Accumulate Field node.
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_mesh_topology_edges_of_vertex.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_mesh_topology_edges_of_vertex.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_mesh_topology_edges_of_vertex.cc b/source/blender/nodes/geometry/nodes/node_geo_mesh_topology_edges_of_vertex.cc
index 11b41ac5605..d099cd7f8cc 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_mesh_topology_edges_of_vertex.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_mesh_topology_edges_of_vertex.cc
@@ -24,12 +24,12 @@ static void node_declare(NodeDeclarationBuilder &b)
.min(0)
.supports_field()
.description(N_("Which of the sorted edges to output"));
- b.add_output<decl::Int>(N_("Total"))
- .dependent_field()
- .description(N_("The number of edges connected to each vertex"));
b.add_output<decl::Int>(N_("Edge Index"))
.dependent_field()
.description(N_("An edge connected to the face, chosen by the sort index"));
+ b.add_output<decl::Int>(N_("Total"))
+ .dependent_field()
+ .description(N_("The number of edges connected to each vertex"));
}
static void convert_span(const Span<int> src, MutableSpan<int64_t> dst)