Fix: Missing units in quadrilateral node points inputs

This commit is contained in:
Hans Goudey
2023-09-23 09:16:17 -04:00
parent 1be6fb6b07
commit 4d07c08cc2

View File

@@ -55,19 +55,19 @@ static void node_declare(NodeDeclarationBuilder &b)
.description("The distance between the top point and the X axis");
b.add_input<decl::Vector>("Point 1")
.default_value({-1.0f, -1.0f, 0.0f})
.subtype(PROP_DISTANCE)
.subtype(PROP_TRANSLATION)
.description("The exact location of the point to use");
b.add_input<decl::Vector>("Point 2")
.default_value({1.0f, -1.0f, 0.0f})
.subtype(PROP_DISTANCE)
.subtype(PROP_TRANSLATION)
.description("The exact location of the point to use");
b.add_input<decl::Vector>("Point 3")
.default_value({1.0f, 1.0f, 0.0f})
.subtype(PROP_DISTANCE)
.subtype(PROP_TRANSLATION)
.description("The exact location of the point to use");
b.add_input<decl::Vector>("Point 4")
.default_value({-1.0f, 1.0f, 0.0f})
.subtype(PROP_DISTANCE)
.subtype(PROP_TRANSLATION)
.description("The exact location of the point to use");
b.add_output<decl::Geometry>("Curve");
}