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.
This commit is contained in:
parent
748fda32ed
commit
248def7e48
|
@ -21,12 +21,12 @@ static void node_declare(NodeDeclarationBuilder &b)
|
|||
.min(0)
|
||||
.supports_field()
|
||||
.description(N_("Which of the sorted points to output"));
|
||||
b.add_output<decl::Int>(N_("Total"))
|
||||
.dependent_field()
|
||||
.description(N_("The number of points in the curve"));
|
||||
b.add_output<decl::Int>(N_("Point Index"))
|
||||
.dependent_field()
|
||||
.description(N_("A point of the curve, chosen by the sort index"));
|
||||
b.add_output<decl::Int>(N_("Total"))
|
||||
.dependent_field()
|
||||
.description(N_("The number of points in the curve"));
|
||||
}
|
||||
|
||||
class PointsOfCurveInput final : public bke::CurvesFieldInput {
|
||||
|
|
|
@ -21,12 +21,12 @@ static void node_declare(NodeDeclarationBuilder &b)
|
|||
.min(0)
|
||||
.supports_field()
|
||||
.description(N_("Which of the sorted corners to output"));
|
||||
b.add_output<decl::Int>(N_("Total"))
|
||||
.dependent_field()
|
||||
.description(N_("The number of corners in the face"));
|
||||
b.add_output<decl::Int>(N_("Corner Index"))
|
||||
.dependent_field()
|
||||
.description(N_("A corner of the face, chosen by the sort index"));
|
||||
b.add_output<decl::Int>(N_("Total"))
|
||||
.dependent_field()
|
||||
.description(N_("The number of corners in the face"));
|
||||
}
|
||||
|
||||
class CornersOfFaceInput final : public bke::MeshFieldInput {
|
||||
|
|
|
@ -24,12 +24,12 @@ static void node_declare(NodeDeclarationBuilder &b)
|
|||
.min(0)
|
||||
.supports_field()
|
||||
.description(N_("Which of the sorted corners to output"));
|
||||
b.add_output<decl::Int>(N_("Total"))
|
||||
.dependent_field()
|
||||
.description(N_("The number of faces or corners connected to each vertex"));
|
||||
b.add_output<decl::Int>(N_("Corner Index"))
|
||||
.dependent_field()
|
||||
.description(N_("A corner connected to the face, chosen by the sort index"));
|
||||
b.add_output<decl::Int>(N_("Total"))
|
||||
.dependent_field()
|
||||
.description(N_("The number of faces or corners connected to each vertex"));
|
||||
}
|
||||
|
||||
static void convert_span(const Span<int> src, MutableSpan<int64_t> dst)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue