From 4d07c08cc210b43ee80e4009967d16f11399e1f4 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Sat, 23 Sep 2023 09:16:17 -0400 Subject: [PATCH] Fix: Missing units in quadrilateral node points inputs --- .../nodes/node_geo_curve_primitive_quadrilateral.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadrilateral.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadrilateral.cc index 475348805fa..356531da599 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadrilateral.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadrilateral.cc @@ -55,19 +55,19 @@ static void node_declare(NodeDeclarationBuilder &b) .description("The distance between the top point and the X axis"); b.add_input("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("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("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("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("Curve"); }